This question already has an answer here:
I have a directory of pictures.
I need the MD5-hash of each file in that directory and the name of the file placed into a
.txt document. This file is to be read at a later time to reference the MD5 and file name together.
I would like this to just pull all directory files with me specifying them.
I have tried playing with
find and I just cannot seem to find a good solution...
This is a directory example:
/Desktop/testing RandomFilename1.png RandomFilename2.png RandomFilename3.png
.txt output is:
RandomFilename1,da39a3ee5e6b4b0d3255bfef95601890afd80709 RandomFilename2,da39a3ee5e6b4b0d3255bfef95601890afd80709 RandomFilename3,da39a3ee5e6b4b0d3255bfef95601890afd80709
I've looked everywhere online with no luck.
This will be on a Linux terminal.