[Bug 2374] New: Discrepancy in --exclude-from option between Gnu tar and rsync

samba-bugs at samba.org samba-bugs at samba.org
Tue Feb 22 12:40:41 GMT 2005


           Summary: Discrepancy in --exclude-from option between Gnu tar and
           Product: rsync
           Version: 2.6.3
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: maryniak at xs4all.nl
         QAContact: rsync-qa at samba.org

Dear reader,
We have a home-brewed backup program that uses (for certain dirs) tar and (for
others) rsync as backup program, and use a generic mechanism (if a (touched)
.exclude file exists in a particular subdir) to build up a list of files to
exclude, that we subsequently feed to tars or rsyncs '--exclude-from' option.
I noticed a discrepancy, however, in its use:

o tar:
  --exclude-from FILE
o rsync:

Is this intentional?
My request is to allow '--exclude-from FILE' for rsync, too.
Rationale: orthogonality and consistency in (Gnu type) options w/r to tar and
rsync. Note that files with spaces still need to be protected in both manners.

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