Chrome Extension

Delete all empty directories in a directory in Ubuntu

You can delete all empty directories in a directory using below command. First we find all directories using find command and then delete them.
# Go to directory and execute command
-------------------------------------
find . -empty -type d -delete
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place. Check how cool is the tool
Was this helpful?
0 Comments