Return to Snippet

Revision: 53139
at November 15, 2011 00:02 by sabanulutas


Updated Code
/* way 1 */
rm -rf `find . -type d -name .svn`


/* way 2 */
find -name ".svn" -print0 | xargs -0 rm -rf

Revision: 53138
at November 15, 2011 00:01 by sabanulutas


Updated Code
// way 1
rm -rf `find . -type d -name .svn`

// way 2
find -name ".svn" -print0 | xargs -0 rm -rf

Revision: 53137
at November 14, 2011 23:59 by sabanulutas


Initial Code
rm -rf `find . -type d -name .svn`

find -name ".svn" -print0 | xargs -0 rm -rf

Initial URL

                                

Initial Description
following example code removes all ".svn" folders recursively

Initial Title
removing specific folders recursively in linux

Initial Tags
linux, ubuntu

Initial Language
Bash