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

Click here to return to the 'Use an 'rmdir' function that's smart about .DS_Store files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use an 'rmdir' function that's smart about .DS_Store files
Authored by: jkreileder on Dec 22, '09 03:13:25PM

Note that this script fails miserably with filenames with spaces, filenames with newlines, and filenames starting with a '-'. In contrast to rmdir(1) proper quoting and using '--' don't help.

[ Reply to This | # ]