|
|
Older flash-based MP3 players and OS X metadata
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 -- {} \;---
Older flash-based MP3 players and OS X metadata
This is better, works with spaces, quotes, etc. in filenames:
find . -name "._*" -print0 | xargs -0 rm -f
Older flash-based MP3 players and OS X metadata
Instead of those -exec directives, why not just use find's -delete ? Larry.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|