# Explanation of parameters
# . start searching in current directory
# -name '.svn' find files and folders named exactly .svn
# -exec run a command on each file
# rm -rf {} the command is 'rm -rf' (braces substituted for each found filename)
# \; escape (\) the semicolon (;) so that bash ignores it and passes it to find
find . -name '.svn' -exec rm -rf {} \;
# . start searching in current directory
# -name '.svn' find files and folders named exactly .svn
# -exec run a command on each file
# rm -rf {} the command is 'rm -rf' (braces substituted for each found filename)
# \; escape (\) the semicolon (;) so that bash ignores it and passes it to find
find . -name '.svn' -exec rm -rf {} \;