Delete Empty Directories using bash / command line; Find empty directory

To remove empty directories, use the following:

find -type d -empty -delete

To simply find empty directories:

find -type d -empty
This post is available on GitHub.
Posted .

Comments

Leave a Reply