Think before you speak, read before you think.

清除当前目录下的所有.svn文件

有时要得到一个干净的程序目录,需要使用find结合xargs,将目录及子目录的.svn文件夹删除

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

同时也可以使用svn export命令

如将当前的目录templets输出到/tmp/templets

svn export templets /tmp/templets --force

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *