bugfindutils - Bugs: bug #64605, Add support for extended attributes

 
 

bug #64605: Add support for extended attributes

Submitter:  None
Submitted:  Mon 28 Aug 2023 04:49:02 PM UTC
Votes: 1
 
Category:  find Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Avid Seeker Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  None
Fixed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 29 Aug 2023 02:38:27 AM UTC, comment #1: 

Hi, This has come up before: #58941 (and to a lesser extent #64253). There is a patch from seven years ago and some list discussion but there are some issues with it. It looks promising but it seems that it went quiet five years ago.

Have a look at #58941. There is a link to a version of findutils by Morgan Weetman on gitlab that has an -xattr predicate, and there is a link to the mailing list discussion. Perhaps you could use Morgan Weetman's version.

Until the issues are resolved, another alternative is my rawhide (rh) program (https://codeberg.org/raforg/rawhide). It's another file finder that can do almost everything that GNU find does (except -fstype), and it can also search by extended attributes (names and values), and by access control lists ("POSIX" style (for Linux/macOS/Cygwin) and NFSv4 style (for FreeBSD/Solaris)), and by ext2-style file attributes or BSD-style file flags (e.g., immutable, append_only), and by libmagic filetypes/mimetypes.

There are some commercial versions of find (macOS/Solaris) that can search for files that have extended attributes but they can only search by the existence of EAs or by their names, not by their values.

raf <raf>
Mon 28 Aug 2023 04:49:02 PM UTC, original submission:  

XDG Extended Attributes guidelines include metadata about files that is supported on the file system level. Many programs attach this metadata to downloaded or produced files, and it would seem an essential feature for a file finder.

https://www.freedesktop.org/wiki/CommonExtendedAttributes

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by calestyo (Voted in favor of this item)
  • -email is unavailable- added by rokejulianlockh (Voted in favor of this item)
  • -email is unavailable- added by raf (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-10-26 calestyo Carbon-Copy- Added calestyo
    2023-09-23 rokejulianlockh Carbon-Copy- Added rokejulianlockh

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code