[Bug 2104] New: Add support for --dry-run with --write-batch

samba-bugs at samba.org samba-bugs at samba.org
Tue Nov 30 20:58:48 GMT 2004


https://bugzilla.samba.org/show_bug.cgi?id=2104

           Summary: Add support for --dry-run with --write-batch
           Product: rsync
           Version: 2.6.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: wayned at samba.org
         QAContact: rsync-qa at samba.org


Make the combination of --write-batch with --dry-run create a batch file without
actually updating the destination.  (The current behavior is to complain if the
user tries to combine these options.)

The implementation would require rsync to do more work in --dry-run mode than
normal when --write-batch is specified (i.e. generating checksums, computing
diffs), but still not send the update-data to the receiver (just to write it to
the batch file).  This _might_ be fairly easy, but I haven't checked yet to be sure.

(Suggested by Peter Hartley.)

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list