View Single Post
  #6  
Old 2012-02-12, 07:32 PM
spidergawd's Avatar
spidergawd spidergawd is offline
Peninsulanwolf
 
Join Date: Dec 2011
Location: Metro Day Twa
Re: md5 check on linux

Quote:
Originally Posted by spidergawd View Post
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.........
Reply With Quote Reply with Nested Quotes