Created
January 18, 2011 21:41
-
-
Save dustinsenos/785207 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Add the following line to ~/.profile to enable recursively adding all unversioned. | |
# You'll need to close and open terminal for this to take [e|a]ffect. Or run '. ~/.profile' | |
# | |
# Usage: Type 'svnaddall' (without quotes) from a directory containing unversioned files | |
# | |
alias svnaddall="svn st | grep '^\?' | tr '^\?' ' ' | xargs svn add" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't claim to be a regex pro, I know there's a million ways to shave a yak, this currently works well for me in OS X 10.6+. Any suggestions on syntax (sed maybe?) would be greatly appreciated. Please use at your own risk.