svn st | grep "^?" | awk -F " " '{print $2}' | xargs svn add
Can be modified to do a svn delete on files you accidentally rm -rf'ed:
svn st | grep "^!" | awk -F " " '{print $2}' | xargs svn delete
2810 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
svn st | grep "^?" | awk -F " " '{print $2}' | xargs svn add
svn st | grep "^!" | awk -F " " '{print $2}' | xargs svn delete
You need to create an account or log in to post comments to this site.
My solution:
Which adds:
This mimicks the -print0 behavior of the find command.