2008/3/1, Erik <[EMAIL PROTECTED]>:
> 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
--
[email protected] mailing list