bug-findutils
[Top][All Lists]
Advanced

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

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


From: Kevin Locke
Subject: [bug #58941] wishlist: Support for -xattr -xattrname
Date: Wed, 12 Aug 2020 10:34:15 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0

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/




reply via email to

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