Category Archives: Unix

SVN Cleanup Crew

I posted a terminal command about 7 months ago about cleaning up SVN working directories. Unbeknownst to me, wordpress chewed up the code and spit out a useless shell of the command’s former self.
Here it is again, in all its glory:
find -d “your/working/directory” -name “.svn” -exec rm -r ‘{}’ \; -print
I needed it this time, [...]

Cleaning Up After SVN

If you’re using SVN for keeping your source safe for web apps, you may notice uploading the working folder also uploads all those hidden .svn folders. Not ideal.
Here’s the shell command to delete all those .svn files from your working directory:
find -d “your/working/directory” -name “.svn” -exec rm -r ‘{}’ \; -print
The -d flag (-depth) means [...]

Copyright © 2007 prototypecreative.com. All rights reserved.