Follow-up Comment #1, bug #64605 (project findutils):

Hi, This has come up before: #58941 (and to a lesser extent #64253). There is
a patch from seven years ago and some list discussion but there are some
issues with it. It looks promising but it seems that it went quiet five years
ago.

Have a look at #58941. There is a link to a version of findutils by Morgan
Weetman on gitlab that has an -xattr predicate, and there is a link to the
mailing list discussion. Perhaps you could use Morgan Weetman's version.

Until the issues are resolved, another alternative is my rawhide (rh) program
(https://codeberg.org/raforg/rawhide). It's another file finder that can do
almost everything that GNU find does (except -fstype), and it can also search
by extended attributes (names and values), and by access control lists
("POSIX" style (for Linux/macOS/Cygwin) and NFSv4 style (for
FreeBSD/Solaris)), and by ext2-style file attributes or BSD-style file flags
(e.g., immutable, append_only), and by libmagic filetypes/mimetypes.

There are some commercial versions of find (macOS/Solaris) that can search for
files that have extended attributes but they can only search by the existence
of EAs or by their names, not by their values.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64605>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to