Thursday, December 3, 2009

Mass svn commit from command line

Bash script to mass commit in all subdirectories of current directory.
p=`pwd`
for a in `ls -d *`; do
echo $a
cd $p/$a
svn delete src/java/com/xxx/DeployHelper.java
svn ci -m "deleted deploy helper"
done

If you simply need to commit without any confirmations just type svn ci -m "comment"

No comments:

Post a Comment