TinyApps.Org
Small is beautiful


 HOME

  0. Internet
  1. Text
  2. Graphics
  3. System
  4. File
  5. Misc
  6. Palm
  7. OS X

 BLOG

 DOCS

 FAQ

 LINKS

 CONTACT


Atom Feed
RSS Feed


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
/mac
/misc
/nix
/palm
/windows

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
2003: 6 7 8 9 10 11 12
2004: 1 2 3 4 5 6 7 8 9 10 11 12
2005: 1 2 3 4 5 6 7 8 9 10

Ezine Archive
2001: 10 11 12
2002: 1 2 3 5 6 7 8 9 10 12
2003: 1 2 4 5 6 7 8 9 12
2004: 1 2 3 4