Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Prevent .DS_Store file creation on network volumes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Prevent .DS_Store file creation on network volumes
Authored by: JoolsG4 on Jul 13, '05 10:16:38AM

Is there a similar tip for stopping these files appearing on mounted non-Apple volumes, such as memory sticks, digital camera's, my Sony PSP and my SonyEricsson K750i mobile phone?

Whenever I mount one of these on my desktop and copy/modify any files, the Mac OS (un)helpfully creates all these hidden files, which obviously the PSP and K750 don't understand.

Currently I have to use a third party 'cleaner' application to manually delete all these files before un-mounting the device. If it was possible to stop them being created in the first place it would help immensely.



[ Reply to This | # ]
10.4: Prevent .DS_Store file creation on network volumes
Authored by: paperwings on Jul 13, '05 11:08:47AM

Yes. Or mp3 players for those of us who haven't joined the iPod "revolution".



[ Reply to This | # ]
10.4: Prevent .DS_Store file creation on network volumes
Authored by: macslut on Jul 13, '05 11:37:03AM

What third party cleaner do you use? I've had mixed results and even resorted to using VirtualPC for keeping my MemoryStick clean, which isn't just an inconvenience in my case, those files cause a direct conflict.



[ Reply to This | # ]
Shell Script cleanup
Authored by: lullabud on Jul 13, '05 06:27:46PM
I use /bin/sh! Seriously, I use something very similar to the following to keep my CVS server's repository clean of excess junk, including Apple, Windows, Paintshop Pro and ws_ftp crap. It requires root privs.
find /Volumes/PSP/ | grep -ir '\(\._\..*\|\.AppleDouble\|\.AppleDesktop\|ws_ftp\.log\|Thumbs\.db\|pspbrwse\.jbf\)$' \
| sed 's/^\(.*\)$/rm -f "\1"/' | /bin/sh
*Note: I'm no bash überguru, so this might not be the most effective way to get it done, but I do use that grep, sed and sh string on a production Debian server at work. I did test the non-linux command modification to see if it would delete anything crazy on my Powerbook and it didn't. To see what would have been deleted without actually deleting anything, just remove the "| /bin/sh" from the end of the command. It will then just print out a bunch of "rm -f" commands which don't actually do anything.

[ Reply to This | # ]
10.4: Prevent .DS_Store file creation on network volumes
Authored by: jedik on Jul 13, '05 11:50:38PM

You may try to use FinderCleaner:

http://www.macupdate.com/info.php/id/16996

It's a freeware utility that removes such files before ejecting an external device.

Cheers

---
:: Jedi Knight ::
-- Mac Rules! --



[ Reply to This | # ]