From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JVUjf-0007os-5c for garchives@archives.gentoo.org; Sat, 01 Mar 2008 16:38:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A265E04D9; Sat, 1 Mar 2008 16:38:53 +0000 (UTC) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.235]) by pigeon.gentoo.org (Postfix) with ESMTP id 48D50E04D9 for ; Sat, 1 Mar 2008 16:38:53 +0000 (UTC) Received: by wx-out-0506.google.com with SMTP id h30so9000043wxd.10 for ; Sat, 01 Mar 2008 08:38:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ToEkLOIEiBvO6OIMoug8cTuvsOb2o8kxOk/G/th5mbo=; b=n36SuKsRIeJ1bUjGKjRxGPghJhw8nIncXlBgZ8jGvylh7Xforbx7yWmR/HL8gAF0m0bMXOVsusuQevOlE3md6xowVHXj3vs2YJQzaXNAcx+A8/ROrNealyIoYOHXCWzkOz8en+WHQN4fzT2mpOomoggmTXH1fQsHKjIsfCaG/a4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j6eVAVFUKlE5x9zKcpmqghVlSaxFgkoasr5twAwuP5p2ErTeH1v7KSKemRXsdd0UmeUGymTjL5wZLyazv822hqirALyQeBKi621Us5aH/Qc9chmHCJkRXaF0n7MHiAMKZCmmtpsDW9hgwxnMIS2S0tgOoU8U1md43KyLAOAS3uc= Received: by 10.100.123.4 with SMTP id v4mr23269176anc.85.1204389532493; Sat, 01 Mar 2008 08:38:52 -0800 (PST) Received: by 10.100.165.20 with HTTP; Sat, 1 Mar 2008 08:38:52 -0800 (PST) Message-ID: <50ba04d20803010838t55713774ge9ed320cfac5386e@mail.gmail.com> Date: Sat, 1 Mar 2008 17:38:52 +0100 From: "Matthias Guede" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Set a property on a file and have it remove when the file is modified? In-Reply-To: <47C94EB4.1060803@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47C94EB4.1060803@gmail.com> X-Archives-Salt: 9b6cc92e-3316-4e72-a65b-80b11d5e844d X-Archives-Hash: d89d3da8ef740e93dfd0778ff2a7e576 2008/3/1, Erik : > Is it possible to set a property on a file and have it remove > automatically when the file is modified? > > Suppose that we have a style checker that checks a lot of source code > files. Once it examined a file and found it to be clean, it should set a > property on the file ("style-clean"). Whenever the style checker is > executed it skips files with this property. Whenever the file is > modified, the filesystem removes the property. > > Is this possible? Which filesystems does it work on? One solution would be using 'make'. With rules like the following only modified files will be proceeded: timestamp: myFile doSomthingWidth myFile touch timestamp -- gentoo-user@lists.gentoo.org mailing list