Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#204412 - 14/02/2004 14:21 emptool behaviour
ukengb
member

Registered: 30/04/2003
Posts: 136
Loc: United Kingdom
Since the directories that contain my mp3s are accessible from a MacOSX machine there are many .DS_Store files sitting alongside the mp3s and guess what - when you specify a directory for emptool to upload it happily uploads the .DS_Store files too:-(

Finding and removing individual files littered throughout a structure of 1000s of directories is not practical. I can delete them before uploading, but it would be very easy to forget to do this so it's not exactly foolproof (or even me-proof:-)

Any way to tell emptool to igone dot files - as it should? No program should take any notice of files that begin with a dot, I don't understand why emptool should be different.

Any ideas?

Top
#204413 - 14/02/2004 14:53 Re: emptool behaviour [Re: ukengb]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I agree that the various tools should ignore dot files, at least by default, but:

find /music/directory -name .DS_Store | xargs rm
_________________________
Bitt Faulk

Top
#204414 - 14/02/2004 17:36 Re: emptool behaviour [Re: wfaulk]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
JEmplode will skip dot files and used to (not sure if it is still in there) have a relatively undocumented emptool clone buried in their somewhere if you need the command line only interface.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#204415 - 14/02/2004 23:56 Re: emptool behaviour [Re: mcomb]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
JEmptool went away a while ago since nobody was using it and it was quite a bit of code to keep maintaining. There are a bunch of commandline tools on my site for Rio Music Manager Lite, though, that work with the Empeg as well as the Karma (not all of them, but if someone has a particular request for one, I can pretty easily add in Empeg support).

Top
#204416 - 15/02/2004 01:58 Re: emptool behaviour [Re: wfaulk]
ukengb
member

Registered: 30/04/2003
Posts: 136
Loc: United Kingdom
That's how to remove them before uploading, or do you imply that I use find on the empeg? Is that possible? Is find included?

Top
#204417 - 15/02/2004 07:35 Re: emptool behaviour [Re: ukengb]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
The "| xargs rm" part sends all the found files to the remove command, so it will remove them also

Top
#204418 - 15/02/2004 12:45 Re: emptool behaviour [Re: mschrag]
ukengb
member

Registered: 30/04/2003
Posts: 136
Loc: United Kingdom
I understand what the command does. What is not clear to me is whether you mean to do this on the PC (removing the unwanted files) before uploading, or afterwards on the empeg?

Top
#204419 - 15/02/2004 12:47 Re: emptool behaviour [Re: ukengb]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
On the PC. The files are all renamed once they get onto the player.
_________________________
-- roger

Top
#204420 - 16/02/2004 07:27 Re: emptool behaviour [Re: ukengb]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
he was saying to remove them before uploading ... newer jEmplodes should ignore dot files (it may be an option -- i can't recall offhand what the default is)

Top
#204421 - 16/02/2004 08:22 Re: emptool behaviour [Re: mschrag]
ukengb
member

Registered: 30/04/2003
Posts: 136
Loc: United Kingdom
My confusion over the replies is because I already stated at the beginning that I know how to remove them prior to uploading.

The problem is just that getting rid of them after the fact is impractical and that they shouldn't be uploaded in the first place.

Top
#204422 - 16/02/2004 09:04 Re: emptool behaviour [Re: ukengb]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Sorry -- I was responding to what I thought was confusion about the command that the original confused reply gave you

Top
#204423 - 16/02/2004 12:09 Re: emptool behaviour [Re: ukengb]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
You said it wasn't practical. I was assuming that you were removing them individually, and gave you a command to automate it. At worst, that should take a minute or so, assuming a reasonably fast hard drive, and no interaction. Hardly impractical.
_________________________
Bitt Faulk

Top
#204424 - 16/02/2004 13:25 Re: emptool behaviour [Re: wfaulk]
ukengb
member

Registered: 30/04/2003
Posts: 136
Loc: United Kingdom
I was obviously unlcear about this.

I can easily remove them all prior to uploading, but I would have to ensure this is done before any future updating and I couldn't guarantee I'd remember every time.

Trying to remove them once already on the empeg is impractical since there's no simple command (such as can be used on the PC) and so the alternative is trying to remove them individually.

In fact I think I'll remove them first, prior to bulk uploading with emptool, then use JEmplode for the updates - that doesn't seem to try and upload the dot files.

Top