Search This Blog

Thursday, March 5, 2009

list of all empty folders linux command

find . -depth -type d -empty

[will operate delete as well]
find . -depth -type d -empty -exec rmdir {} \;

No comments:

Post a Comment