du -hsx * | sort -rh | head -10
Search This Blog
Showing posts with label unix command. Show all posts
Showing posts with label unix command. Show all posts
Tuesday, October 15, 2013
Monday, December 24, 2012
Unix Command file removal recursive
I have a project checked out from svn a while ago and wanted to revisit the project, but i realized that instead of using svn export i did a svn checkout so the annoying .svn folders where everywhere. Here is the command to remove them recursively.
Before we issue any kind of rm -rf command lets be safe and list all the .svn folders.
$ find . -type d -name .svn
Then we remove those suckers.
$ find . -type d -name .svn | xargs rm -rf
Subscribe to:
Posts (Atom)