Subversion update script

Development Add comments

I keep most of my projects in a directory off my home ~/project. Most days I want to ensure that everything on my machine is up to date. Rather than cd into each directory and calling svn update by hand, I use the following.

for project in `find . -maxdepth 2 -type d -name ".svn" | cut -d / -f 2`; do svn update ./$project; done

The same could be done for CVS if that’s your poison. Not sure if this is really any use to anyone else, but I’m sticking it up anyhow.

Leave a Reply

Couldn't find your convert utility. Check that you have ImageMagick installed.