All pastes #2069933 Raw Edit

Someone

public text v1 · immutable
#2069933 ·published 2011-05-27 05:23 UTC
rendered paste body
This script works

rsync --rsh="ssh -p2222" -arvuz /Users/me/Sites/whitepine/ cryptic0@remotehost.net:/home/cryptic0/www/secure2/ --exclude 'deploy' --exclude '.*' --exclude '*.swp'


++++++++++++++++++++++++++++++++++++++
This script doesnt

rsync --rsh"ssh -p22" -arvuz /Users/me/ me@192.168.1.103:/target/dir/


++++++++++++++++++++++++++++++++++++++++++
This one doesn't either

rsync -arvuz -e ssh /Users/me/ me@192.168.1.103:/target/dir/

The program interprets the path to target dir as /Users/me/me@192.168.1.103:/target/dir/ and obviously fails.