Re: date hashlist

Bernhard Walle <[email protected]> Fri, 8 Apr 2011 11:53:56 +0200
Newsgroups gmane.linux.suse.programming
Message-ID <20110408095356.GA31339@regiomontanus>
* Thomas Moritz <[email protected]> [2011-04-08 11:51]:
> Hallo,
> waehrend der Kernel baut, habe ich noch 2 Fragen.
>=20
> 1)
> Wie setze ich am einfachsten _alle_ Files des System auf
> 1.1.1970 00:00

Ungetestet:
TZ=3DGMT find /path/to/root -type f -exec touch -D "1970-01-01 00:00" {} =
\;

> 2)
> Wie erstelle ich am einfachsten eine Liste mit den Hashes
> _aller_ Files?

Ungetestet:
find /path/to/root -type f -exec md5sum {} \;


Gru=DF,
Bernhard
--=20
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]=
g