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


Click here to return to the 'Older flash-based MP3 players and OS X metadata' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Older flash-based MP3 players and OS X metadata
Authored by: fracai on Jun 23, '05 03:40:06PM
as requested :)

find ./ -iname "._*" -exec rm -rf -- {} \;

this will find anything that starts with ._ and remove it, folders and files.

as a side note: ._ files have been around for years (as noted in the previous post). in fact, you might as well also remove all the .DS_Store files as well.

the following will just cut to the chase and remove anything that starts with a . this will cover the ._, .DS, etc files as well as any other invisible unix files. just change ./ to the path of the Volume or cd to the Volume first. you definitely don't want to do this at the root of your computer or your home folder.

find is recursive. user beware of course. don't use this if you don't understand it.

find ./ -iname ".*" -exec rm -rf -- {} \;

---
i am jack's amusing sig file

[ Reply to This | # ]

Older flash-based MP3 players and OS X metadata
Authored by: Hanji on Jun 23, '05 09:38:54PM
This is better, works with spaces, quotes, etc. in filenames:
find . -name "._*" -print0 | xargs -0 rm -f

[ Reply to This | # ]
Older flash-based MP3 players and OS X metadata
Authored by: LC on Jun 24, '05 12:24:29PM
Instead of those -exec directives, why not just use find's -delete ? Larry.

[ Reply to This | # ]