Finding empty directories
It depends a little on what you want to do with the empty directories. I use the command below when I wish to delete all empty directories within a tree, say test directory. find test -depth -empty -delete One thing to notice about the command above is that it will also remove empty files, so … Read more