On Thu, Nov 08, 2007 at 04:04:56PM +0000, 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?
I don't know. Try adding -c so that it decides what to sync based on an actual checksum instead of size and time. Also, I get confused sometimes on the effects of a trailing slash on source and target arguments. Check for a ~/Documents/Documents/ directory or something. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]