SVN doesn't seem to let you revert multiple files with a wildcard (or say if you deleted a whole directory tree in error)?
This works:
svn status|awk '/^D/{system("svn revert " $2)}'
There's probably another way....
SVN doesn't seem to let you revert multiple files with a wildcard (or say if you deleted a whole directory tree in error)?
This works:
svn status|awk '/^D/{system("svn revert " $2)}'
There's probably another way....
system is a GNU awk thing. If your awk doesn't have that, then print and pipe through xargs: