Of course I wrote some scripts to make my work with subversion even easier. There are all under the free GPL license.
- msvn: Execute a svn command in multiple working dirs
- svnmv: svn move for multiple files
- sfind: find files but ignore .svn dirs
If you have a main directory for all working directories then sometimes you like to execute a svn command for all of them. My script 'msvn' does exactly this. I use it for things like 'msvn st *' or 'msvn up *'. It ignores given directories which are no svn working directories.
msvn <svncommand> <dirs>
The 'svn move' command does not support the move of multiple files into a single directory like the normal Unix 'mv' does. Here a wrapper which has the syntax of 'mv' and calls 'svn mv' for every file given.
svnmv <files to move> <target dir>
I often like to know what files are in a directory structure. In a Linux (or Unix) console you can just use 'find' with its many options for this. The problem with subversion working directories is the presence of the .svn subdirectory holding all version control information needed. This dir can make the output of 'find' quite messy. So I wrote a little wrapper which tells 'find' to ignore the .svn dir. It can be used like the normal find:
sfind [<dir(s)>] [<options>]