Sometimes it would be nice to be able to copy SVN project without .svn/ directories. The easiest way is to use little bash script:
find -name "\.svn" -exec rm -rf {} \;
It is even better when used as na alias (so we don't need to remember it). Just put it into .bash_aliases in home dir (~/):
alias clean_svn="find -name "\.svn" -exec rm -rf {} \;"
Use with caution!
Execute this alias only in your app base directory. When executed in home dir (or any other) will recursively remove all .svn/ directories!
Leave a Reply