1
vote
2answers
111 views

How to download an image with wget and save it with the md5 hash as name?

How can I make a download an image, md5 hash the image, and save that image with the md5 hash as name to a directory using wget? # An example of the image link... ...
1
vote
3answers
169 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 ...
1
vote
1answer
74 views

How interact in for with bash?

I know this must be sound a weird question, but for me, that always developed in C, C++ and Java (and now in bash) seems more weird tough. I'm trying to check if md5 and filename from two list (one ...
1
vote
3answers
2k views

md5sum of files in two folders

I'm trying to compare all the files in two folders via an md5sum in one command. Some like the following (bash) in Debian: $ cd ~/FOLDER1 $ md5sum ~/FOLDER2/* | md5sum -c - The idea is that the ...
1
vote
1answer
3k views

md5sum on large files

Context: I have a large terabyte drive with various types of large media files, iso files etc. I would like to verify its contents using md5sum on the first megabyte due to speed/performance. You can ...
0
votes
1answer
296 views

how to use md5sum on certain files

Imagine I have a filelist like this: file1.php file2.php login1.php login2.php logout1.php logout2.php And I want to do an md5sum on files called login* <- something like that. I need to count ...