Foreach

Moving multiple files using Subversion and Bash

Subversion (1.4.2 at least) doesn’t allow you to move multiple files in one command line in the same way that regular mv does. This can be done with a tiny one line Bash script, e.g.

 for file in *.gif; do svn mv $file trunk; done
Syndicate content