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

Another method (Linux only) is to use the functions in libe2p which is part of
the libext2fs-dev package on Debian.

I've written a find-alternative called "rawhide" that can search for these
attributes (and project and version numbers) using fgetflags(), fgetproject()
and fgetversion() from that library.

I was going to suggest copying the code from rawhide but with libe2p, it's
just a single function call for each. But you might want to copy the
underlying code from libe2p itself if you want to avoid the dependency.

As for the %e, that's a great choice. That's what rawhide uses for the same
purpose. I'd hate to see the %-notation for find and rawhide get out of sync.


    _______________________________________________________

Reply to this item at:

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

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


Reply via email to