[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64088] find should support file attribute flags (immutable, append

From: raf
Subject: [bug #64088] find should support file attribute flags (immutable, append-only, fscrypt, etc.)
Date: Sat, 22 Apr 2023 20:08:09 -0400 (EDT)

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:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]