[TriLUG] md5sum question

Jason Watts jsnonzzr at gmail.com
Thu Nov 6 17:16:20 EST 2008


Wont MD5sum generate a hash for each file?

What program do you recommend for checksum?  Ill look into that as well...
cant hurt to learn more than one way.

As far as challenging the group to generate a one liner to handle this, I
wanted to make my first effort before I went to the group... and couldn't
find any flags that looked right to turn on... might not be any according to
my 3 seconds of googling

On Thu, Nov 6, 2008 at 4:43 PM, Steve Holton <sph0lt0n at gmail.com> wrote:

> On Thu, Nov 6, 2008 at 5:28 PM, Jason Watts <jsnonzzr at gmail.com> wrote:
> > I have a folder with a bunch of folders in it that contain about 100gig's
> > worth of files.  I just moved these from one system to another and wanted
> to
> > check integrity.
>
> If you want to check the integrity of the entire 100gig of data, then
> you're going to be checking 100gig whether you do it as a one big file
> or as lots of little ones.
>
> Observations:
> If you're only after integrity, use cksum instead.  it's a lot faster.
>  Use MD5sum only if you think someone made changes they're trying to
> hide from you.
>
> If you check lots of little files, you'll find out which one is bad,
> rather than finding out "one of the set" is bad.
>
> Are you only interested in the file contents, or the attributes
> (c-time, a-time, etc) as well? Makes a difference if the target
> filesystems are different...
>
> > Is there a simple way of doing this without going though every folder and
> > creating individual .md5's?  Simple meaning no scripting.
>
> If you challenge a bunch of TriLUG geeks to write the script to do it
> on a single line, the taks of writing the script might become
> trivial...
>
> >
> > Thanks,
> >
> > Jason
> > --
> > TriLUG mailing list        :
> http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG FAQ  : http://www.trilug.org/wiki/Frequently_Asked_Questions
> >
>
>
>
> --
> Steve Holton
> sph0lt0n at gmail.com
>  --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG FAQ  : http://www.trilug.org/wiki/Frequently_Asked_Questions
>



More information about the TriLUG mailing list