OK. I got the rsync CVS code and compiled under Linux. That did the job, but only with --no-whole-file because of the local transfer.
I then tried to read-batch... under Windows / Cygwin with the current Cygwin rsync. That didn't work - as expected. After compiling again under cygwin it worked! I can now create a diff from a new CD to the version before and send the diff files by email. On the other side my friend is able to reproduce the new CD with the old one + the rsync write-batch files. BTW I tried a binary diff with different other tools. It didn't work with that size of files. Thanx Rainer -----Ursprungliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Jos Backus Gesendet: Montag, 29. September 2003 21:47 An: [EMAIL PROTECTED] Betreff: Re: problem with batch mode: On Mon, Sep 29, 2003 at 05:20:55PM +0200, Rainer Stengele wrote: > Can anybody give me a hint? Why is "delta-transmission disabled for local > transfer"? This too fails for me with rsync 2.5.6 release, but not with the version from CVS: lizzy:~/src/rsync-cvs/obj/test/rs% ls -l .. total 1433 -rw-r--r-- 1 jos staff 436738 Sep 29 12:31 new.bak -rw-r--r-- 1 jos staff 498783 Sep 29 12:29 old.zip drwxr-xr-x 2 jos staff 512 Sep 29 12:38 rs lizzy:~/src/rsync-cvs/obj/test/rs% ls -l total 1 -rw-r--r-- 1 jos staff 180 Sep 29 12:37 x lizzy:~/src/rsync-cvs/obj/test/rs% cat x cp ../new.bak ../new.zip ../../rsync -avvv --write-batch=rs ../old.zip ../new.zip cp ../new.bak ../new.zip ../../rsync -avvv --read-batch=rs ../new.zip cmp ../old.zip ../new.zip lizzy:~/src/rsync-cvs/obj/test/rs% sh x building file list ... make_file(old.zip,*,2) expand file_list to 4000 bytes, did move done send_file_list done send_files starting server_recv(2) starting pid=395 recv_file_name(old.zip) received 1 names recv_file_list done get_local_name count=1 ../new.zip generator starting pid=395 count=1 delta transmission enabled recv_generator(../new.zip,0) generating and sending sums for 0 send_files(0, ../old.zip) count=624 rem=638 blength=700 s2length=2 flength=436738 recv_files(1) starting send_files mapped ../old.zip of size 498783 calling match_sums ../old.zip old.zip built hash table hash search b=700 len=498783 match at 700 last_match=0 j=1 len=700 n=700 match at 1400 last_match=1400 j=2 len=700 n=0 match at 2100 last_match=2100 j=3 len=700 n=0 match at 2800 last_match=2800 j=4 len=700 n=0 match at 3500 last_match=3500 j=5 len=700 n=0 match at 4200 last_match=4200 j=6 len=700 n=0 match at 4900 last_match=4900 j=7 len=700 n=0 match at 5600 last_match=5600 j=8 len=700 n=0 match at 6300 last_match=6300 j=9 len=700 n=0 [snip] match at 497166 last_match=434700 j=622 len=700 n=62466 done hash search sending file_sum false_alarms=0 tag_hits=1335 matches=594 sender finished ../old.zip generate_files phase=1 send_files phase=1 recv_files(../new.zip) recv mapped ../new.zip of size 436738 got file_sum renaming ../.new.zip.0LXsPT to ../new.zip set modtime of ../new.zip to (1064863764) Mon Sep 29 12:29:02 2003 recv_files phase=1 generate_files phase=2 send files finished total: matches=594 tag_hits=1335 false_alarms=0 data=82983 recv_files finished wrote 85595 bytes read 3784 bytes 178758.00 bytes/sec total size is 498783 speedup is 5.58 _exit_cleanup(code=0, file=../rsync/main.c, line=625): about to call exit(0) send_files starting server_recv(2) starting pid=399 get_local_name count=1 ../new.zip recv_files(1) starting generator starting pid=399 count=1 delta transmission enabled recv_generator(../new.zip,0) generating and sending sums for 0 send_files(0, ../old.zip) count=624 rem=638 blength=700 s2length=2 flength=436738 old.zip sender finished ../old.zip generate_files phase=1 send_files phase=1 recv_files(../new.zip) recv mapped ../new.zip of size 436738 got file_sum renaming ../.new.zip.pAvza1 to ../new.zip set modtime of ../new.zip to (1064863764) Mon Sep 29 12:29:02 2003 recv_files phase=1 generate_files phase=2 send files finished total: matches=0 tag_hits=0 false_alarms=0 data=0 recv_files finished wrote 85535 bytes read 3784 bytes 178638.00 bytes/sec total size is 0 speedup is 0.00 _exit_cleanup(code=0, file=../rsync/main.c, line=625): about to call exit(0) lizzy:~/src/rsync-cvs/obj/test/rs% ls -l total 91 -rwx------ 1 jos staff 51 Sep 29 12:38 rs.rsync_argvs -rw------- 1 jos staff 3752 Sep 29 12:38 rs.rsync_csums -rw------- 1 jos staff 85507 Sep 29 12:38 rs.rsync_delta -rw------- 1 jos staff 79 Sep 29 12:38 rs.rsync_flist -rw-r--r-- 1 jos staff 180 Sep 29 12:37 x lizzy:~/src/rsync-cvs/obj/test/rs% ls -l .. total 1433 -rw-r--r-- 1 jos staff 436738 Sep 29 12:31 new.bak -rw-r--r-- 1 jos staff 498783 Sep 29 12:29 new.zip -rw-r--r-- 1 jos staff 498783 Sep 29 12:29 old.zip drwxr-xr-x 2 jos staff 512 Sep 29 12:38 rs lizzy:~/src/rsync-cvs/obj/test/rs% Could you try again with the version in CVS? -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos at catnook.com _/_/ _/_/_/ require 'std/disclaimer' -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html