1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/bin/sh # All parameters will be then ignore by svn st if [ $# -lt 1 ]; then echo "Give me some file to ignore" exit -1 fi echo "$" >> .svnignore svn commit -m "ignore update" svn propset -F .svnignore . svn commit -m "propset update" svn up echo "Job's done"