Since MD5 can be rather resource intense, you may find the following
utility of some use in determining which files should be processed.
http://dev1.netkinetics.net/filetime/filetime.c
download, then gcc -o /usr/bin/filetime && strip /usr/bin/filetime
It returns a simple unix stamp of the last t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Hi,
Grok Mogger wrote:
> Allan Wind wrote:
>> On 2006-10-20T07:33:46-0700, Dave Carrigan wrote:
>>> find . -type f -print0 | xargs -0 md5sum > /tmp/source.sums
>>> cd /dest/dir
>>> find . -type f -print0 | xargs -0 md5sum > /tmp/dest.sums
>>> diff -
Grok Mogger wrote:
I have about 36 GB of files on a hard disk that I've transfered to
another disk. I'd like to cksum or md5sum the files just to make sure
that they were all copied well. I can't seem to find a way to recurse
through the directories and do this to a lot of files. I've looked
Grok Mogger wrote:
I have about 36 GB of files on a hard disk that I've transfered
to another disk. I'd like to cksum or md5sum the files just to
make sure that they were all copied well. I can't seem to find
a way to recurse through the directories and do this to a lot of
files. I've looke
Grok Mogger wrote:
> I have about 36 GB of files on a hard disk that I've transfered
> to another disk. I'd like to cksum or md5sum the files just to
> make sure that they were all copied well.
I have the same need, and wrote a Perl script "md5sums" to generate and
check *.md5 files recursively
porchlight.ca> writes:
> Couldn't you use cat and shasum:
> in the directories of interest:
> cat * | sha1sum > SHASUMS
>
> then compare the SHASUMS files?
'cat *' will concatenate all the files into one big lump, so if there's any
error, you won't know w
On Fri, Oct 20, 2006 at 05:27:23PM -0500, Mike McCarty wrote:
> Grok Mogger wrote:
> >I have about 36 GB of files on a hard disk that I've transfered to
> >another disk. I'd like to cksum or md5sum the files just to make sure
> >that they were all copied well. I can't seem to find a way to recu
On Fri, Oct 20, 2006 at 10:07:29PM +, Chris Moore wrote:
> > I'd like to cksum or md5sum the files just to
> > make sure that they were all copied well. I can't seem to find
> > a way to recurse through the directories and do this to a lot of
> > files.
>
Couldn't you use cat and shasum:
Grok Mogger wrote:
I have about 36 GB of files on a hard disk that I've transfered to
another disk. I'd like to cksum or md5sum the files just to make sure
that they were all copied well. I can't seem to find a way to recurse
through the directories and do this to a lot of files. I've looked
Grok Mogger gmail.com> writes:
> I'd like to cksum or md5sum the files just to
> make sure that they were all copied well. I can't seem to find
> a way to recurse through the directories and do this to a lot of
> files.
There's a package called 'cfv' which can do exactly that. Here's how:
On Oct 20, 2006, at 8:19 AM, David Hart wrote:
On Fri, Oct 20, 2006 at 11:10:12AM -0400, Grok Mogger wrote:
How should I go about sorting it?
Pipe it though 'sort'.
find . -type f -print0 | sort | xargs -0 md5sum > /tmp/source.sums
Actually that won't work because print0 is not line-or
On Friday 20 October 2006 11:07, Grok Mogger wrote:
> Thanks, I thought something like that was probably doable, but
> my bash skills are not at the point where I could have figured
> it out on my own.
Just want to clarify something here. find, xargs, sort, grep etc., are not
specific to bash. T
On Fri, Oct 20, 2006 at 11:10:12AM -0400, Grok Mogger wrote:
> Allan Wind wrote:
> >On 2006-10-20T07:33:46-0700, Dave Carrigan wrote:
> >>find . -type f -print0 | xargs -0 md5sum > /tmp/source.sums
> >>cd /dest/dir
> >>find . -type f -print0 | xargs -0 md5sum > /tmp/dest.sums
> >>diff -u /tmp/sour
Allan Wind wrote:
On 2006-10-20T07:33:46-0700, Dave Carrigan wrote:
find . -type f -print0 | xargs -0 md5sum > /tmp/source.sums
cd /dest/dir
find . -type f -print0 | xargs -0 md5sum > /tmp/dest.sums
diff -u /tmp/source.sums /tmp/dest.sums
Might need a sort in there before redirecting to files.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/20/06 08:58, Grok Mogger wrote:
> I have about 36 GB of files on a hard disk that I've transfered to
> another disk. I'd like to cksum or md5sum the files just to make sure
> that they were all copied well. I can't seem to find a way to recurse
Dave Carrigan wrote:
On Oct 20, 2006, at 6:58 AM, Grok Mogger wrote:
I have about 36 GB of files on a hard disk that I've transfered to
another disk. I'd like to cksum or md5sum the files just to make sure
that they were all copied well. I can't seem to find a way to recurse
through the di
On 2006-10-20T07:33:46-0700, Dave Carrigan wrote:
> find . -type f -print0 | xargs -0 md5sum > /tmp/source.sums
> cd /dest/dir
> find . -type f -print0 | xargs -0 md5sum > /tmp/dest.sums
> diff -u /tmp/source.sums /tmp/dest.sums
Might need a sort in there before redirecting to files.
/Allan
si
On Oct 20, 2006, at 6:58 AM, Grok Mogger wrote:
I have about 36 GB of files on a hard disk that I've transfered to
another disk. I'd like to cksum or md5sum the files just to make
sure that they were all copied well. I can't seem to find a way to
recurse through the directories and do th
I have about 36 GB of files on a hard disk that I've transfered
to another disk. I'd like to cksum or md5sum the files just to
make sure that they were all copied well. I can't seem to find
a way to recurse through the directories and do this to a lot of
files. I've looked around a lot, and
19 matches
Mail list logo