5,710
edits
Changes
Home
,→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
fi