9/15/10

Oneliner for removing svn and git metainfo

If you receive a code tree that someone has to forgot to remove version control system metainfo from it here is a one liner for removing it.

.svn files:
find . -type d -name ".svn" | xargs rm -rf

.git files:
find . -type d -name ".git" | xargs rm -rf