Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gumbyx84

macrumors 6502
Original poster
Dec 7, 2008
491
0
Does anyone know why OS X leaves ._<file_name> files on FAT and NTFS volumes when files are copied to it? It doesn't happen to me all the time, but I've noticed it happening when I copy files to my MP3 Player (UMS device) lately and the player attempts to play them when in folder mode.

Also, is there an easy way to prevent this from happening or to at least remove the files easily? I know I can manually search for them, but some sort of app or script (preferably automated) would be easier (call me lazy if you must).

I'm not worried about .DS_Store or other hidden files (I do use custom icons for my PSP and MP3 player), so no worries about those.
 
Those files are made because FAT32 and NTFS doesn't support the HFS+ meta data used on Mac OS X filesystems. There is no way to turn it off.
 
Looking for an easy way to clean up system files (.DS_Store, ._)

Hey gumbyx84,

This is in regards to this post in another thread that is now locked?

I skipped over your initial post in the thread and answered in context to your second post. The suggestion of using Maintenance would not work for dealing with these files in your MP3 player and PSP.

That setting in Maintenance does remove the .DS_store files within OS X but I do not think it will work for connected devices or it would be impractical even if it did.

Sorry for the inconvenience.
 
OS X should have an option to remove these files but it doesn't. The only way I found is to show hidden files and delete them manually on your windows machine/work computer.

I only have to do this when I put a new SD card into my car radio and that is not that often so it's just a minor inconvenience.
 
Has anyone suggested Hidden Cleaner. It seems like it may be a solution to your problem given its description and reviews on MacUpdate. I have not used it myself so you will have to test to see if this is a solution to your problem. Hope it helps.

DriveCleaner may be an even better solution. Again, I have not tried this. Hope it helps.
 
Last edited:
Has anyone suggested Hidden Cleaner. It seems like it may be a solution to your problem given its description and reviews on MacUpdate. I have not used it myself so you will have to test to see if this is a solution to your problem. Hope it helps.

I use Hidden Cleaner on my non-HFS+ USB drives. It works well.
 
munkery: Ya the other post got locked, so I posted here to figure out what the files were created for. Thought it would help me figure out how to prevent them from getting on the volumes in the first place. No problem with the confusion.

Intell and munkery: Thanks for the heads up on what those files are called (resource forks) and what they are for (HFS metadata). Know I can act like I know what I'm talking about. ;)

I've read a review saying Hidden Cleaner isn't well written and prone to problems. Also, it doesn't specifically "target" FAT and NTFS volumes. Is this true? Sorry but after losing my entire HD to a failed reinstall, I am very weary of touching anything related to system files (some of the hidden files on the OS HD). I'm tempted to get BlueHarvest ($17) so I can get support incase something goes wrong.
 
I've read a review saying Hidden Cleaner isn't well written and prone to problems. Also, it doesn't specifically "target" FAT and NTFS volumes.

Hidden Cleaner and DriveCleaner both are made for removable media so if you got a spare USB drive, you could give them a try.

You may even be able to format the USB stick to FAT using Disk Utility to test if it works. Never tried myself.
 
I'll probably give it a test on an extra SD card I have laying around. One last question related to this: There will be no ill effects to deleting these right if the files does have any special attributes set right? I looked up AppleDouble resource forks and they don't seem that useful unless the files have special Finder attributes set.

PS Almost forgot. If I'm using custom folder/volume, I need to make sure not to delete .VolumeIcon.icns right?
 
PS Almost forgot. If I'm using custom folder/volume, I need to make sure not to delete .VolumeIcon.icns right?

I am not sure. I believe those apps are set to find only specified hidden files. Is the icon used by your MP3 player? Is it causing problems? Maybe another thing you could test with your spare USB drive.
 
To the OP

You can't get rid of those .DS_store files since it part of the system , believe it or not those files will be re-created after you delete it.
 
I'd recommend BlueHarvest, have used it for years without a problem.

Why it does not clean my usb flash disk?
I have checked all the settings in preference pane.
Still having these annoying files in my usb flash disk.
Why it does not do the cleaning job?
 
Why it does not clean my usb flash disk?
I have checked all the settings in preference pane.
Still having these annoying files in my usb flash disk.
Why it does not do the cleaning job?
I've never used BlueHarvest before, so I cannot comment on anything it does. However... there is a workflow I use to work around this annoyance. It involves using the Terminal - for those who prefer a GUI, I recommend the paid BetterZip application (available in the Mac App Store as well as from the developer's website). Anyway, here's how it works:
  1. First I create a temporary folder somewhere and copy all items to go on the thumb drive to that folder, or subfolders therein.
  2. I then ZIP compress the temporary folder (in Terminal, use the zip command; with BetterZip, use Compatibility mode).
  3. I copy the zip archive onto my thumb drive, take it with me to wherever I need to go, then decompress it on the other end.
I'm not sure why this works, but I've had success with it. Plus, using this method speeds up the file transfer to/from the thumb drive.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.