Monday, January 17, 2011

svn adding/deleting new/missing files from command line

Source

Deleting missing files :
svn st | grep ^! | awk '{print $2}' | xargs svn delete

Adding new files
svn st | grep ^? | awk '{print $2}' | xargs svn add

No comments:

Blog Archive