2022 Developer Survey is open! Take survey.

Questions tagged [md5sum]

md5sum is a computer program that calculates and verifies 128-bit MD5 hashes, as described in RFC 1321.

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

For each row of a given List, how to insert a checksum starting at column 1?

. Given: A command is working, see below. This command shows Meta data for each file. This command makes a List. The List has one Line (one row) of information for each file. A file is defined by the ...
user avatar
  • 1
0 votes
1 answer
442 views

With a time sorted List, How to insert a checksum for each file?

Time stamp example: 20211018_14:54:54.0596445490_Mon Ubuntu 20.04.3 command below works, displaying Directories and Files and Hidden files with: Permissions, Time_Day, f or d, Path/fileName with ...
user avatar
  • 1
0 votes
1 answer
53 views

Trouble verifying md5 checksums created on Windows with Linux

Verifiying checksums inside a file usually works like this using Linux and md5sum. md5sum -c file.md5 However, using it like this on a Windows file reveals errors, that took me a long while to ...
user avatar
  • 111
15 votes
7 answers
55k views

How can I generate an MD5 sum for a folder on Windows?

There are several posts about generating MD5 sums for files and/or folders on various Windows platforms. However, none of these worked for me. I tried: Windows CertUtil: CertUtil -hashfile myFileName ...
user avatar
  • 797
0 votes
1 answer
555 views

Update-Packages hash sum mismatch due to GPG error

syndaemon: no process found /etc/mdm/Xsession: Beginning session setup... localuser:imnobody being added to access control list Script for none started at run_im. Script for auto started at run_im. ...
user avatar
2 votes
2 answers
3k views

Md5 checksum different after gunzip and gzip

I accidentally deleted a handful of gzipped files from a folder. Thankfully, I had uncompressed them in a different location, and am in the process of restoring them. I had the md5 checksums for the ...
user avatar
  • 123
6 votes
1 answer
579 views

List files bigger than specified size, then create md5sum or sha256sum of them

I'd like to know how to create a list with md5sums from files in the current directory - files that are over a specified size. I can do one or the other, but I don't know how to combine the two.
user avatar
  • 63
1 vote
1 answer
4k views

Why does my md5sum hash not match other md5s?

So for a school assignment we are working with hashes. However I've encountered a problem where my file.txt containing: test hashes test hashes without quotes doesn't match the hash from HashCalc (...
user avatar
  • 13
1 vote
1 answer
1k views

Batch script - calculating md5 hashes for all files in c: drive

I'm trying to figure out how to setup specific location where I want to start calculating hashes ? Let's say I would like to start calculating md5 hashes for all files on c:\ drive and files included ...
user avatar
0 votes
3 answers
54 views

How to tell what files are different on two servers

here we can see that md5sums of this two directories are different, how to tell if the folder structures or some certain files are the reason of this difference? [skynet]~> ssh evn-web04 'find /www/...
user avatar
62 votes
2 answers
41k views

The MD5 hash value is different from Bash and PHP [duplicate]

I tried to generate the MD5 sum (using md5sum) of a string, "hello". I tried out different methods as the md5sum tool in Linux, PHP's MD5() function as well as various online text to md5sum ...
user avatar
2 votes
2 answers
955 views

Recursively md5 files compared to stored .md5 file

What is the best way to MD5 3200 files in 167 directories using md5sum where all hashes are compared to a .md5 file that is already created in each directory holding the files to be check summed. I ...
user avatar
0 votes
1 answer
77 views

Hashutils to recurse the whole drive

Following this post another super user question, I downloaded hashutils. Works great with with the -r flag to recurse a folder. However, I am unable to recurse a whole drive. Trying this command, the ...
user avatar
  • 103
39 votes
12 answers
9k views

What is the value of MD5 checksums if the MD5 hash itself could potentially also have been manipulated?

Downloads on websites sometimes have an MD5 checksum, allowing people to confirm the integrity of the file. I have heard this is to allow not only corrupted files to be instantly identified before ...
user avatar
3 votes
6 answers
2k views

Compute md5sum of every 1MB part of stream from pipe

I want to do checksumming of large files and stream in unix/linux, and I want get many checksums from every large part of file/stream, every 1 MB or every 10MB. For example, I have disk image, ...
user avatar
  • 6,317
4 votes
1 answer
3k views

Why does tar with -z option create archive with different hash everytime

Can you tell me why tar czf archive.tar dir creates archive with different hash everytime (I check with 'md5sum') Without compression parameter -z or with parameter -j instead all works fine. Thanks
user avatar
27 votes
3 answers
6k views

How accurate is `md5sum`?

When using md5sum to verify the integrity of a file, how accurate is the process? Does a verified MD5 mean that EVERY bit is exactly the same, or is there a threshold that must be broken before ...
user avatar
1 vote
1 answer
57 views

Quickly Maintain Database of sha256sums? [closed]

I have many different disks (primarily harddisks) storing various files. I want to know that they are all backed up in some form. Given that I have terabytes of files somehow (backups of backups ...
user avatar
  • 2,279
1 vote
1 answer
3k views

Rename files by md5 checksum [closed]

What program can I use to rename files with their calculated md5 checksums? GUI or CLI Programs for Linux or Windows or scripts for DOS or the Linux terminal.
user avatar
  • 123
2 votes
3 answers
2k views

Finding a file by md5sum

Given the md5sum of a file, I want to know if anywhere else in the directory tree is another file with the same md5sum (but maybe under a different name). How can I do that in bash? P.S.: To ...
user avatar
0 votes
1 answer
330 views

How to print md5sum on separate line?

I am trying to calculate the md5 hash of a string (say 'hunter5'). To do this, I run md5sum , type or paste the string, then type Control-D (EOT) twice. > md5sum ...
user avatar
0 votes
2 answers
245 views

find duplicate files by size and MDF

I am writing script to search for dups files and group them by size and then by their MD5 check sum. here is my script: find . -type f -printf "%s\n" | sort -rn | uniq -d | xargs -I{} -n1 find -type ...
user avatar
0 votes
0 answers
136 views

How to verify download of TortoiseHg software for Windows

When installing software onto my PC, I generally like to run a hash check against my download before installing it. Many download pages provide an MD5sum to use for this kind of check. See: Some ...
user avatar
  • 199
0 votes
1 answer
4k views

MD5 hash of original Windows 8 pro iso file

What is the MD5 hash of the original Win 8 Professional ISO (upgrade version)? I downloaded the file over multiple download sessions, and want to make sure that the file is not corrupted. Does the ...
user avatar
7 votes
3 answers
9k views

Find all duplicate files by MD5 hash

I'm trying to find all duplicate files (based on MD5 hash) and ordered by file size. So far I have this: find . -type f -print0 | xargs -0 -I "{}" sh -c 'md5sum "{}" | cut -f1 -d " " | tr "\n" " "; ...
user avatar
0 votes
1 answer
1k views

How can I compute an md5sum on Macintosh OSX Lion?

How can I compute an md5sum on Macintosh OSX Lion? Is it built in to the OS or do I need to download an application?
user avatar
  • 7,586