Friday, 25 May 2012

fetching from ubox to live

rsync -av --safe-links -e "ssh -i .ssh/sbk" $ubox:/home/erichschulz/utabs/ /home/erichschulz/utabs

scp -i .ssh/sbk $ubox:$t.sql.gz $t.sql.gz

scp -i .ssh/sbk $d.sql.gz $ubox:$d.sql.gz

Thursday, 24 May 2012

sed minus svn

simple search and replace in folder $a, bypassing the svn gumph

find $a -maxdepth 1 -type f -exec sed -i 's/AgcPerm/AgcTransitionPerm/g' {} ';