bug-findutils
[Top][All Lists]
Advanced

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

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


From: Morgan Weetman
Subject: Re: [bug #58941] wishlist: Support for -xattr -xattrname
Date: Thu, 13 Aug 2020 12:02:10 +1000

Hi Kevin,

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,

cheers

On Thu, 13 Aug 2020 at 00:34, Kevin Locke <INVALID.NOREPLY@gnu.org> wrote:

> 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/
>
>
>

-- 
Morgan Weetman
Services Content Architect
M: +61 439 469 793
https://www.redhat.com/en/services/training-and-certification


reply via email to

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