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