#!/bin/bash # note the first trailing slash rsync -avzz -e 'ssh -l anonymous' --delete ~/code/web/emacshorrors.com/out/ lab:/srv/http/emacshorrors.com