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

Comments

Leave a Reply