0. Internet 1. Text 2. Graphics 3. System 4. File 5. Misc 6. Palm 7. OS X |
Delete empty directories recursively # A tiny Windows app for this purpose was mentioned a few years ago, but here are the Linux and OS X commands to recursively delete empty directories below the current one (use at your own risk, as the slightest mistake WILL destroy all of your data): Linux: find -depth -type d -empty -exec rmdir {} \;OS X: find ./ -depth -type d -empty -exec rmdir {} \;
/nix | Nov 07, 2007 |
Categories
Blosxom Archive
2005: 10 11 12
2006: 1 2 3 4 5 6 7 8 9 10 11 12 2007: 1 2 3 4 5 6 7 8 9 10 11 12 2008: 1 2 3 4 5 6 7 8 9 10 Blogger Archive
Ezine Archive
|