[Top][All Lists]

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

Re: find [extended] attributes

From: James Youngman
Subject: Re: find [extended] attributes
Date: Fri, 16 Nov 2012 22:14:02 +0000

On Mon, Sep 5, 2011 at 11:30 AM, Yuri D'Elia <address@hidden> wrote:
> 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:

Leslie (see the To: line) has actually implemented something but it
has not been merged.

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

This email is intended solely for the use of its addressee, sender,
and any readers of a mailing list archive in which it happens to
appear.   If you have received this email in error, please say or type
three times, "I believe in the utility of email disclaimers," and then
reply to the author correcting any spellings (and, optionally, any
incorrect spellings), accompanying these with humorous jests about the
author's parentage.   If you are not the addressee, you are
nevertheless permitted to both copy and forward this email since
without such permissions email systems are unable to transmit email to
anybody, intended recipient or not.  To those still reading by this
point, the author would like to apologise for being unable to maintain
a consistent level of humour throughout this disclaimer.  Contents may
settle during transit.  Do not feed the animals.

reply via email to

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