Mailinglist Archive: opensuse (2803 mails)

< Previous Next >
Re: [opensuse] md5sum question
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Tue, 8 Jul 2008 13:42:41 +0200 (CEST)
  • Message-id: <alpine.LSU.1.00.0807081339500.15298@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



The Tuesday 2008-07-08 at 13:22 +0200, Istvan Gabor wrote:

Thanks, but it is not possible.
Maybe I wasn't clear.
I have the file names with the corresponding md5sums listed in
a text file, one file per line. This text file is the input for
md5sum if -c option is set: md5sum -c textfile.md5.
This means that md5sum takes the file names from this file
and verifies if the calculated md5sums are the same as the
ones given in the textfile.
The file is similar to this one:

ed6a5b3feb668866df812b1c2aed9d7f openSUSE-11.0-DVD-i386.iso
113c3ef0509db0e00310e19085f3a197 openSUSE-11.0-DVD-ppc.iso
512c8346b0f8eb35f28c4eb96454d391 openSUSE-11.0-DVD-x86_64.iso

The difference is that in my case the file names listed contain
spaces, and md5sum chokes on them.
How can I solve this?

Report a bug in bugzilla or upstream, and wait a few ages :-p

Simply calculate the checksums and do the checking manually. I don't know if you change the names both outside and inside if it will work. Try first scaping the spaces.

- -- Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFIc1K6tTMYHG2NR9URAj/IAKCGb4XoXZCugACpAncgi+eWzb1vsACgkbqW
4ViGQKSNknEn9wuRm9YfwNA=
=81vz
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References