If you ever need to find and delete all empty directories from a project. Here a simple one-liner to do this


find . -type d -empty -exec rmdir {} \;


Related External Links: