Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

shantanu oak http://oksoft.blogspot.com

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

delete empty directories

// commands to recursively delete empty directories below the current one
// (use at your own risk, as the slightest mistake WILL destroy 
// all of your data - Linux) 
find -depth -type d -empty -exec rmdir {} \;

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS