Re: rsync question
John O Laoi wrote:
> Hello,
>
> I have the same structure on 2 machines.
> I want to keep them in sync.
>
> I change a file (ZZZ.ods) on the one with IP address AAA.BBB.CCC.DDD
> and then rsync from the other as follows
>
> ~$ rsync -avh AAA.BBB.CCC.DDD:/home/john/Documents/ ./Documents/
> Password:
> receiving file list ... done
> Documents/X/Y/ZZZ.ods
>
>
>
> But the file ~/Documents/X/Y/ZZZ.ods on the machine I am issuing the
> command on does not change!
>
> What am I doing wrong?
Try:
rsync -avuh AAA.BBB.CCC.DDD:/home/john/Documents/ ./Documents/
->HS
>
> John
>
>
Reply to: