[Top][All Lists]

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

Re: [coreutils] [PATCH] md5sum: Add option to ignore non-existant files

From: Erik Auerswald
Subject: Re: [coreutils] [PATCH] md5sum: Add option to ignore non-existant files
Date: Fri, 10 Dec 2010 09:51:57 +0100
User-agent: Mutt/1.5.18 (2008-05-17)


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

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

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