MD5SUM check files need to be in unix format on windows

Written by James McDonald

September 25, 2009

I just attempted to use md5sum.exe under windows…

In a putty session on a Linux box I ran md5sum and then copied and pasted the output to a text file under windows…

[[email protected] thejayster]$ md5sum live-bak-200909250216AM.tar.gz
f7f3d5ac5cd898dbceaf1939c2228c15  live-bak-200909250216AM.tar.gz

# copy the output to windows
C:\backup>md5sum -c MD5SUM.txt
: No such file or directory16AM.tar.gz
: FAILED open or readAM.tar.gz
md5sum: WARNING: 1 of 1 listed file could not be read
; try and run md5sum against the file...
C:\backup>md5sum -c MD5SUM.txt
live-bak-200909250216AM.tar.gz: OK
; this is after converting the MD5SUM.txt file to unix format using notepad++

0 Comments

Submit a Comment

Your email address will not be published.

You May Also Like…

ZPL SBPL

Zebra Printer Language http://labelary.com/viewer.html The above website has a page where you can enter ZPL and it...

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...

PHP array_map Multiple Arrays

array_map can take multiple arrays. I like how it starts mapping through them starting at the first element of each...