Re: [bug #58941] wishlist: Support for -xattr -xattrname

Kevin Locke <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <20200813024719.GA281135@kevinolos>
On Thu, 2020-08-13 at 12:37 +1000, Morgan Weetman wrote:
> On Thu, 13 Aug 2020 at 12:21, Kevin Locke <[email protected]> wrote:
>> On Thu, 2020-08-13 at 12:02 +1000, Morgan Weetman wrote:
>>> On Thu, 13 Aug 2020 at 00:34, Kevin Locke wrote:
>>>> It would be great if find could support searching for files based on the
>>>> presence/absence of extended attributes (xattrs).
>>>
>>> I wrote support for this a few years ago but it needs a lot of tidying to
>>> be accepted and I haven't had the time. I can share the GitLab repo with
>>> you if you'd like to play with it,
>>
>> That's great!  I'll bet it would be a useful reference and starting
>> point for potential implementers (myself included).
> 
> Done.. I just made the repo public: https://gitlab.com/mweetman/findutils
> 
> This also has support for finding files based on capabilities which was my
> primary goal, xattr support was a (bonus) intermediate step I had to go
> through along the way
> 
> enjoy

This is great!  Do you recall what you had in mind to tidy it up before
submitting it for inclusion?  It looks reasonably clean and functional
to me.  (But I haven't tested yet - will soon!)

Thanks again,
Kevin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.