Bug 4573 - Hide/protect filtering of xattrs by name
Hide/protect filtering of xattrs by name
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
All All
: P3 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
: 5300 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2007-04-28 09:58 UTC by Matt McCutchen
Modified: 2010-11-28 08:10 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Matt McCutchen 2007-04-28 09:58:22 UTC
Users who use xattrs for many different purposes are likely to want to preserve some xattrs but not others.  Thus, it would be nice to have a name-based hide/protect filtering system for xattrs just like the ones for files.  Filters could be specified with an --xattr-filter option; I see no need to add corresponding syntactic-sugary --xattr-{in,ex}clude{,-from} options.

For example, if src/ has been indexed by Beagle and I want to copy it to dest/, copying over all xattrs except the Beagle ones, I could run:

rsync -aX --xattr-filter='H user.Beagle.*' src/ dest/
Comment 1 Lukasz Stelmach 2008-03-03 06:31:14 UTC
*** Bug 5300 has been marked as a duplicate of this bug. ***
Comment 2 Erik Logtenberg 2010-11-28 08:10:09 UTC
I would like to second this request, especially to be able to use comment #2 from this bug: https://bugzilla.samba.org/show_bug.cgi?id=6546