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

           Summary: "--list-only" option has an off-by-one error and misses
                    out the last file of the list
           Product: rsync
           Version: 2.6.8
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


Observed in version 2.6.8 on Linux.

$ ls -l
total 0
-rw------- 1 tom tom 0 Oct 29 17:34 a
-rw------- 1 tom tom 0 Oct 29 17:34 b
-rw------- 1 tom tom 0 Oct 29 17:34 c

$ rsync --list-only *
-rw-------           0 2006/10/29 17:34:49 a
-rw-------           0 2006/10/29 17:34:49 b

The "--dry-run --verbose" combination of options seems to work correctly.


-- 
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.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to