Correction: The options I'm comparing are -avr and -avrn. I meant that I'm getting a different report with the -n compared to without -n.
Sorry... Thanks, Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 11:06 AM To: [EMAIL PROTECTED] Subject: RE: rsync output -vv differs with dry-run option I've noticed a difference between the dry-run and normal execution as well using /usr/local/bin/rsync -avrnz --exclude-from=/davet/rsync.webmstr1 --stats [EMAIL PROTECTED]::webmstr1 /export/home/webmstr. I'm not clear why, but it appears as if the dry run method, using -n, is not reporting all the files that are actually effected. I'm basing this on the report that rsync provides and am wondering if the -n only checks for files that are actually going to be transferred while the -avrn report includes empty diretories that will be created on the client side? My two cents... Thanks, Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Claas Hilbrecht Sent: Tuesday, May 11, 2004 7:49 AM To: [EMAIL PROTECTED] Subject: rsync output -vv differs with dry-run option I'm trying to figure out if a file has changed since the last rsync call. I use the following command line: rsync -cvv /mnt/xxx/vol1/dbase/100/kunden.dbf /mnt/label | grep "^total: " | sed -e 's/.* data=//' This gives a 0 if the file is unchanged and the file size if the file has changed. Adding the "dry-run" option "n" to the command line always gives a 0. I wonder if this is a expected behaviour? -- Claas Hilbrecht http://www.jucs-kramkiste.de -- 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 -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html