how can I recursively delete empty directories in my home directory?

Find Empty Folder

$ find . -type d -empty -print

To delete empty folders after finding it

$ find . -type d -empty -delete

Leave a Reply