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?
Similar Posts
- Delete all empty directories in a directory in Ubuntu
- Change directory name or rename a directory in Ubuntu
- Copy a directory along with its content to another directory in Ubuntu
- Create a new directory or folder in Ubuntu
- Remove or Delete a folder or directory in Ubuntu
- Get total size of a directory or folder in Ubuntu
- Copy all folder content to another folder In Ubuntu