Some Cool Operations with SVN

How to add all untracked files in SVN:

svn st | awk '/\?/ {print $2}' | xargs svn add

How to remove deleted files from version control:

svn st | awk '/\?/ {print $2}' | xargs svn add

Note: the add command above may not work if the file name has space in it. A command to use instead may be:

svn st | grep '^?' | sed 's/^[? ]*/"/' | sed 's/$/"/' | xargs svn add

Sources

version control – How do you add all untracked files in svn? Something like git add -i? – Stack Overflow. http://stackoverflow.com/questions/160104/how-do-you-add-all-untracked-files-in-svn-something-like-git-add-i