Hi,

On Wed, Dec 08, 2010 at 10:14:50PM -0500, Luther wrote:
> Normally, when I use md5sum, it's when I download a file and an MD5SUMS
> file that comes with it. This MD5SUMS file usually lists many files
> including the one I downloaded. When I run 'md5sum -c MD5SUMS', I get
> many error messages about files that I don't have. Obviously, I don't
> care about the files I didn't download, and the error messages make it
> difficult to see the output relating to the file that I do care about.
> 
> I suggest a new option, -i/--ignore-missing, which ignores any filenames
> that do not exist on the filesystem.

You could achieve what you want bei using grep:

grep $FILENAME MD5SUMS | md5sum -c

Erik
-- 
I am regularly asked what average Internet users can do to ensure their
security.  My first answer is usually, "Nothing--you're screwed."
                        -- Bruce Schneier

Reply via email to