On 1/23/06, ankush grover <[EMAIL PROTECTED]> wrote:
>
> rsync -pzv -e "ssh -l demo --port=50000" --progress [EMAIL PROTECTED]::mail
> /home/demo/ demo.swx

rsync -avzP -e"ssh --port=50000" [EMAIL PROTECTED]:/path/to/directory 
/local/path

No "/" at end of path will copy the entire tree below /path/to/host
and create a directory host under /local/path

No point of using things like -p as these are defaul behavious in any
case. I would run this additionally with -n option the first time as
it does not do anything but allows you to see what rsync is going to
do.

HTH

--
Sudev Barar
Learning Linux

_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to