emptool behaviour

Posted by: ukengb

emptool behaviour - 14/02/2004 14:21

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?
Posted by: wfaulk

Re: emptool behaviour - 14/02/2004 14:53

I agree that the various tools should ignore dot files, at least by default, but:

find /music/directory -name .DS_Store | xargs rm
Posted by: mcomb

Re: emptool behaviour - 14/02/2004 17:36

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
Posted by: mschrag

Re: emptool behaviour - 14/02/2004 23:56

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).
Posted by: ukengb

Re: emptool behaviour - 15/02/2004 01:58

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?
Posted by: mschrag

Re: emptool behaviour - 15/02/2004 07:35

The "| xargs rm" part sends all the found files to the remove command, so it will remove them also
Posted by: ukengb

Re: emptool behaviour - 15/02/2004 12:45

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?
Posted by: Roger

Re: emptool behaviour - 15/02/2004 12:47

On the PC. The files are all renamed once they get onto the player.
Posted by: mschrag

Re: emptool behaviour - 16/02/2004 07:27

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)
Posted by: ukengb

Re: emptool behaviour - 16/02/2004 08:22

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.
Posted by: mschrag

Re: emptool behaviour - 16/02/2004 09:04

Sorry -- I was responding to what I thought was confusion about the command that the original confused reply gave you
Posted by: wfaulk

Re: emptool behaviour - 16/02/2004 12:09

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.
Posted by: ukengb

Re: emptool behaviour - 16/02/2004 13:25

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.