Tuesday, January 27, 2009

Linux commands to delete only svn files from a directory

# following command will list all the .svn files
find ./ -name .svn

# following command will list the SVN files and delete it
find ./ -name “.svn” -exec rm -rf {} \;

No comments: