ubuntu

Find all empty directories in a directory in Ubuntu

You can use these command to list all the empty directories in a folder.

# Go to DIR and execute below command
--------------------------------------
find . -empty
--------------------------------------
>> It will list all the empty directories in the terminal
Was this helpful?