URL:
<https://savannah.gnu.org/bugs/?58941>
Summary: wishlist: Support for -xattr -xattrname
Project: findutils
Submitted by: kevinoid
Submitted on: Wed 12 Aug 2020 02:34:14 PM UTC
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: None
Discussion Lock: Any
Fixed Release: None
_______________________________________________________
Details:
It would be great if find could support searching for files based on the
presence/absence of extended attributes (xattrs).
The only way I could find to do this currently is via -exec, as suggested in
https://unix.stackexchange.com/q/162359 and
https://unix.stackexchange.com/q/132795
For reference, OS X find supports xattr search with the tests:
-xattr
True if the file has any extended attributes.
-xattrname name
True if the file has an extended attribute with the specified name.
per
https://opensource.apple.com/source/shell_cmds/shell_cmds-203/find/find.1.auto.html
Thanks for considering,
Kevin
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58941>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/