5,710
edits
Changes
Home
,→rsync push.sh
if [ $# -lt 1 ]
then
fi
if [ $1 = "-n" ]
then if [ $2 = "--delete" ] then cmd="rsync -n --delete -h -e ssh -avz --stats --progress $3 b393466@hanjin.dreamhost.com:~/$3" else cmd="rsync -n -h -e ssh -avz --stats --progress $2 b393466@hanjin.dreamhost.com:~/$2" fielif [ $1 = "--delete" ]then cmd="rsync --delete -h -e ssh -avz --stats --progress $2 b393466@hanjin.dreamhost.com:~/$2"
else
fi