Remove empty directories
Goal
Some processes leave a lot of empty directories around.
Note: Use -print instead of -delete, to first show what has been found
Command
find . -type d -empty -delete
This command will search for all empty directories on a Linux system and remove them.
Do you like this page? Share it with others or help us make it better
No :(