From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27275 invoked by alias); 4 Jul 2014 03:55:36 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18923 Received: (qmail 7865 invoked from network); 4 Jul 2014 03:55:33 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Mivr4zoW4ASDy3dnMOuKV/jcgkRs+ebm9m+xJfbbl6A=; b=YJvMLAsakKdISnwm3wIDBsKIpYYSL3QMv4dSDHH68bDGKQKKnNSLcC+KzgtBYqC2fH og8Gy1SiYi4/q2pIQZhpRh02VfWx/bVwjKDARfowMgbMtOa7vUTFzreLV1VYjqOFPzxy +jtTHktNlBx9sVH2EZsioWxH4X+g5/s1RxEYjbfOR/nvWxUe75Td9Y7zIQeEXjUKTShP Ry4PuQcKL4VFtotgkAW6+ceLkv3Qh6AYZFTloS8AMAdMNdAh5J8zjdLMBK1A2vO1OX/Z TzPPQ1p6JAuOWXpDtboRHu1Y7L93dLruIBp1IMU/kY0p/++9MJHsF2ijsCdSglGJrZYZ qNBw== X-Received: by 10.58.8.12 with SMTP id n12mr7498855vea.28.1404446130107; Thu, 03 Jul 2014 20:55:30 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140703224404.4cee3433@pws-pc.ntlworld.com> References: <20140703224404.4cee3433@pws-pc.ntlworld.com> From: shawn wilson Date: Thu, 3 Jul 2014 23:55:10 -0400 Message-ID: Subject: Re: note metadata for files To: Peter Stephenson Cc: Zsh Users Content-Type: text/plain; charset=UTF-8 Thanks all. I didn't know of hooks... I looked for something like this in zsh a few years ago and didn't find anything (so didn't think to look for that). I also like using xattr like that way - I'm going to have to look into what can overwrite this though - if vim or cvs or even touch can overwrite this, that's kinda a non-starter unless I can find a way around it with cgroup or an LSM. On Thu, Jul 3, 2014 at 5:44 PM, Peter Stephenson wrote: > On Wed, 2 Jul 2014 13:59:24 -0400 > shawn wilson wrote: >> Maybe not a zsh specific question, but... >> >> Does anyone have a system for attaching notes to a file? > > You might be interested in Oliver's article on using Linux file > attributes for metadata with zsh: > > http://www.linux-mag.com/id/2126/ > > pws