Mac guy Rob Griffiths points out a few brand new command line utilities in Leopard, like the handy
dot_clean command, which sweeps away Mac system files that start with a dot and annoy the hell out of you when you use that thumb drive on your PC. Griffiths writes:
Prior to 10.5, you had to manually delete them on the other system, or use Terminal trickery to remove them on the Mac prior to copying. As of 10.5, though, you can just use the dot_clean command on the directory in question. Type
dot_clean /path/folderto join the dot-underscore files with their parent files. Read OS X 10.5’s manual pages (
man dot_clean) for more information.
Now you don't have to disable .DS_Store file creation entirely; though you may still have to deal with Windows' annoying Thumbs.db system files on your Mac.