Hi,

I have a new car with a USB port.  The audio system can play songs, arranged in 
hierarchical folders, from a flash drive.  As a test, I copied a small part of 
my iTunes Music folder (which contains artist folders, each of which contains 
album folders) to a FAT32-formatted flash drive.  Using the flash drive is not 
quite as nice as using an iPod, but it seems to work.  Also, I'd be much more 
comfortable leaving my little flash drive in the car at all times than my iPod, 
and there is no battery to worry about draining.

One problem, however, is that copying my iTunes Music folder to the FAT32 flash 
drive creates a hidden file for each visible file, thus resulting in twice as 
many files.  These hidden files are not very large, so perhaps they are some 
sort of meta data, but they make for a lot of clutter because they are visible 
on the car's display.

I used the Terminal to delete a few of these hidden files, one at a time, and 
this seemed to work, but deleting all of these files one at a time throughout 
the entire flash drive would be very tedious and time consuming.  I don't know 
enough about UNIX to write a command to recursively go through the entire copy 
of my iTunes Music folder on the flash drive and delete the hidden files.  I'd 
guess this is simple for many of you, though, so could someone please suggest a 
command (or a script) that would accomplish this for me?

Every hidden file seems to start with "._" (without the double quotes) and then 
matches the rest of the regular file name.  I tried the following command:

rm -R ._*

from the base directory, but it did not work.  Can someone please help me with 
the correct command for removing these extra files?  Alternatively, is there a 
command that would only copy the desired files, without creating these extra 
files, when copying files from my Mac to the flash drive in the first place?

Thanks,

Gregg

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to