[Gllug] Tagging files on the command line?

Pete Ryland pdr at pdr.cx
Sun Nov 19 11:46:49 UTC 2006


On 19/11/06, Russell Howe <rhowe at siksai.co.uk> wrote:
> If you're interested in playing with xattrs, I have an 'md5sum'
> replacement which uses xattrs to cache the results - I can run off
> md5sums for a hundred gig of files in a few seconds, and the caching
> doesn't break when I move files around.

And if I'm being nefarious I could do the following:

touch -r yourfile /tmp/foo
edit yourfile
touch -r /tmp/foo yourfile
rm /tmp/foo

So I hope you're not using the md5 caching for anything important,
like Tripwire/AIDE.

Pete
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list