Find empty directories
With
find <path to search> -type d -empty
you’ll find all empty directories.
And with
find <path to search> -type d -empty -delete
you can remove them all.
With
find <path to search> -type d -empty
you’ll find all empty directories.
And with
find <path to search> -type d -empty -delete
you can remove them all.