remove empty directories

RSS
  • Unix tip: Recursively removing empty directories

    Posted April 29, 2009 - 2:53 pm

    Recursively removing empty directories from a file system might seem like a lot of work. How do you find all the directories and how do you determine programmatically which of them are empty? But let's look at how this task can be made very easy by taking advantage of the normal behavior of the rmdir command.
Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Join today!

See more content
Ask a Question
randomness