[K12OSN] rsync
Sudev Barar
sbarar at gmail.com
Mon Oct 10 15:34:50 UTC 2005
On 10/7/05, Calvin Dodge <caldodge at fpcc.net> wrote:
> I almost forgot: you may need to specify ssh as the transport mechanism.
>
> In that case, the command would be:
>
> rsync -av -e ssh /home/ server_1_ip:/home/
>
> Calvin
rsync -avzP -e ssh ip_of_source:/home /
This will copy all (including sub-directories) from source to
destination represented by the "/" If you are sitting at source then
you need:
rsync -avzP -e ssh /home ip_of_destination:/
man rsync for excellent information. Trailing "/" will not copy copy
sub-directories.
HTH
Sudev Barar
Learning Linux
More information about the K12OSN
mailing list