On Fri, Oct 14, 2005 at 11:11:31AM +0800, Bopolissimus Platypus Jr wrote: > the issue is that with rsync, it's necessary to get all the differences > in one run. if the run fails, the temporary file (with the matches found > and differences resolved) is deleted. so the next time i rsync, i > need to find all the matches again and resolve all the differences > again. --partial is worse (i thought it was better, like --continue with > wget). > > this is OK. i can deal with this for now. i just thought, though, that > i might be able to incrementally continue the partial run. i can see > that there might be problems with detecting if either of the src or > dest had already changed (if yes, temporary file would have to be > thrown away).
You can solve this with --compare-dest and --partial options. e.g. rsync -avP --compare-dest=/full/path/to/dst_dir/ host:src_dir/ tmp_dir/ mv -f tmp_dir/* /full/path/to/dst_dir/ HTH -- $_=q:; # SHERWIN # 70;72;69;6e;74;20; 27;4a;75;73;74;20; 61;6e;6f;74;68;65; 72;20;50;65;72;6c; 20;6e;6f;76;69;63; 65;27;:;;s=~?(..); ?=pack q$C$,hex$1; ;;;=egg;;;;eval;;; _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

