I'm archiving a lot of single files into their own respective 7-zip archives. These files each have their own SHA-1 hash in a text file. I run a batch script to archive each file, then run the "7z t -scrcsha1" and output the result to a text file.
Here is a sample of what one of the output files would look like:
I then want to compare the original hash file against the one created using "7z t". However, as you can see from the contents of the file above, there is a lot of stuff in there I don't need. I just need the actual SHA1 code for the individual file in the archive.
Is there an extra command that can just give me the bare SHA-1 hash? This makes it easier for me to do a comparison between the 2 text files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm archiving a lot of single files into their own respective 7-zip archives. These files each have their own SHA-1 hash in a text file. I run a batch script to archive each file, then run the "7z t -scrcsha1" and output the result to a text file.
Here is a sample of what one of the output files would look like:
C:\temp>7z t -scrcsha1 7zFM.7z
I then want to compare the original hash file against the one created using "7z t". However, as you can see from the contents of the file above, there is a lot of stuff in there I don't need. I just need the actual SHA1 code for the individual file in the archive.
Is there an extra command that can just give me the bare SHA-1 hash? This makes it easier for me to do a comparison between the 2 text files.
Now there there is no option for such feature.