This entry is part 2 of 19 in the Bash-whacking series
  • Dan Brown

    Also a solution without xargs:

    find ./ -name '.svn' -exec rm -rf {} ';'

  • Chris

    Add in "-type d" to only delete the directories. But come to think of it you probably want to say
    -name .svn\*
    to get the svn ignore file.