PDA

View Full Version : md5 check on linux


son_of_nothing
2012-02-04, 09:12 PM
hello
i can't handle those md5 wholefile
on linux i mean
i know how to handle them on windows (TLH)
but "md5sum" command line does its job only on a single file, not on folders
any help (apart from using TLH inside wine)?
thank you

U2Lynne
2012-02-05, 01:36 AM
According to Sarah who wrote out Linux links for the bittorrent software item in the FAQ, md5check is the thing to use (link in faq).

lintoni
2012-02-08, 06:35 PM
As Lynne says md5check (part of etree-scripts does the job fine.

If you're using ubuntu, there is an unofficial repository for etree-scripts (and shorten) at:

https://launchpad.net/~ketilwaa/+archive/etree-scripts

It's not been updated for a while, but I use it with oneiric without any problems.

Also, the following may be useful

http://linux.about.com/library/cmd/blcmdl1_md5sum.htm

lintoni
2012-02-08, 06:49 PM
Have you tried *? Open a terminal in a directory and type

md5sum *.flac

willl create md5 checksums for all flac files in that directory

spidergawd
2012-02-12, 07:05 PM
Have you tried *? Open a terminal in a directory and type

md5sum *.flac

willl create md5 checksums for all flac files in that directory


Also, to create md5 checksums for multiple directories and files you could type:

md5sum */* > filename.md5

spidergawd
2012-02-12, 07:32 PM
Also, to create md5 checksums for multiple directories and files you could type:

md5sum */* > filename.md5

If you're having problems verifying md5 files, your problem may have to do with Windows formatting using CLRF line terminators, and back slashes instead of forward slashes for directory separators. If that's the case, try a shell script like:

#!/bin/bash
tr -d \\r <"$1" | tr \\\\ / | md5sum -c -

Hope this helps.........