Linux - Find and delete empty directories, How to delete empty directories

Find and delete empty directories


Find and delete empty directory, start in current working directory.
  # find . -type d -empty -delete

The above command will search for the empty directory from the current directory and will delete all the empty directories. Be careful while you play in server.

The topic on Linux - Find and delete empty directories is posted by - Patel

Hope you have enjoyed, Linux - Find and delete empty directoriesThanks for your time

Tech Bluff