Changes

Jump to: navigation, search

Home

328 bytes added, 15:56, 12 May 2011
Linux Commandline Stuff
if [ $1 = "-n" ]
then if [ $2 = "--delete" ] then cmd="rsync -n --delete -h -e ssh -avz --stats --progress b393466@hanjin.dreamhost.com:~/$3 $3" else cmd="rsync -n -h -e ssh -uavz avz --stats --progress b393466@hanjin.dreamhost.com:~/$2 $2" fielif [ $1 = "--delete" ]then cmd="rsync --delete -h -e ssh -avz --stats --progress b393466@hanjin.dreamhost.com:~/$2 $2"
else
cmd="rsync -h -e ssh -uavz avz --stats --progress b393466@hanjin.dreamhost.com:~/$1 $1"
fi

Navigation menu