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
View this page on GitHub.
Posted .

Comments

Leave a Reply