bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

md5sum, needed additional feature


From: Frank Klemm
Subject: md5sum, needed additional feature
Date: Mon, 15 Jan 2001 02:14:09 +0100

When using md5sum to compare files, the following feature can be useful to
increase speed.

md5sum --size files

prepends another 12 or 16 characters before the md5sum. This characters are
the hexadecimal representation of the file length. When comparing files,
first the file length can be compared and there is no need to compare the
md5sum if the length differs.

This is especially useful if
  - files mostly differs in size   and
  - files are a little bit larger (Audio, HQ Images, Video)
so that you don't need to read most of the huge files.

-- 
Frank Klemm






reply via email to

[Prev in Thread] Current Thread [Next in Thread]