bug-findutils
[Top][All Lists]
Advanced

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

find [extended] attributes


From: Yuri D'Elia
Subject: find [extended] attributes
Date: Mon, 5 Sep 2011 12:30:29 +0200

Hi everyone,

I was trying to use extended attributes to store some flags for later retrieval.

I figured "find" would contain some way to match on those, but apparently it 
doesn't (either normal "attributes" or "extended"). The closest I could find on 
the net is a Sun extension "-xattr" which simply matches when a file has *any* 
extended attributes, which is next to useless.

Has anyone had any though of this? Wouldn't options such as these ones:

find -attr [+/-]d (match all files with "attribute" "d" set/unset)
find -xattr [!]name[=value] (match all files with "extended attribute" "name" 
[set to "value"])

Any thoughts?

Bests.




reply via email to

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