Quantcast
Channel: SVN – Magp.ie
Viewing all articles
Browse latest Browse all 5

Remove all .svn folders in subdirectory

$
0
0

You may want to copy the contents of one folder to another, but if the original folder is already added to Subversion (SVN) you get an error when committing the new folder.

When a folder is committed to SVN, a .svn folder is added to each folder within the folder subdirectory. To un-add the folder from SVN, you simply remove this .svn folder.

To save time, you can remove all .svn folders within the folder subdirectory by using the following command.

find . -name ".svn" -type d -exec rm -rf {} \;


Filed under: Shortcuts Tagged: bash, SVN, terminal

Viewing all articles
Browse latest Browse all 5

Trending Articles