Created
October 19, 2010 11:21
-
-
Save jcode/634042 to your computer and use it in GitHub Desktop.
SVN tools
This file contains 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 recursively | |
svn status | grep "^\?" | awk '{print $2}' | xargs svn add | |
# Clean .svn files | |
find . -type d -name ‘.svn’ | xargs rm -rf | |
# Rsync folders | |
rsync -ruv --exclude=.svn ../themes themes | |
# Recursively rename file extentions with SVN | |
for file in `find . -name "*.html.erb"` ; do svn mv $file `echo $file | sed s/\.html.erb/\.erb/` ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment