Remove .AppleDouble folders on *NIX boxes
by Pascal Opitz on January 22 2009, 22:54
Quick note to myself on how to get rid of those silly .AppleDouble folders
This fails, if there's funny characters in the filenames:
find . -name '.AppleDouble' | xargs rm -Rf
xargs: unmatched single quote
Hence we need to wrap the string into quotation marks:
find . -name '.AppleDouble' -printf '"%p"\n' | xargs rm -Rf
Comments
by Pascal Opitz on January 23 2009, 09:20 #
find . -name '.AppleDouble' -type d -exec rm -rf '{}' \;
???by Marius van Witzenburg on March 5 2010, 13:02 #
by Richard Whitehouse on January 11 2011, 17:01 #