Gentoo Archives: gentoo-user

From: Andrew Gaydenko <a@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] md5sum for directories?
Date: Sun, 24 Feb 2008 16:49:15
Message-Id: 200802241949.04604@goldspace.net
In Reply to: Re: [gentoo-user] md5sum for directories? by cabbage
1 Hi!
2 ======= On Sunday 24 February 2008, you wrote: =======
3 ...
4 > > On Sun, 24 Feb 2008 11:06:10 +0000, Stroller wrote:
5 > > > Is there any way to check the integrity of copied directories, to
6 > > > be sure that none of the files or sub-directories in them have
7 > > > become damaged during transfer? I'm thinking of something like
8 > > > md5sum for directories.
9
10 I use this script to check how DVD-data were written:
11
12 nice -n 15 find $1/* -type f -print0 | sort -z | xargs -0 cat | md5sum -b
13
14 Don't ask me how does it work - I forgot :-) But it works.
15
16 --
17 gentoo-user@l.g.o mailing list