To get that one line of output per file, is there some 7-zip option that I am overlooking?
I could use the Linux findstr command to pull out that one line, if I were doing this only for file no. 1310; but in fact I expect to do it, at times, for long lists of files, sometimes for all files in a folder or drive. My Linux scripting abilities are not remotely at the level to know how to use the filename as a variable in a loop.
Suggestions?
Last edit: raywood 2022-06-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using 7-Zip in Linux, but will be happy to get clues from the comparable Windows command.
I have a file named 1310. To hash that file, I enter this;
7zz h -scrcblake2sp /path-to-file/1310
That gives me a boatload of material, like this:
All I want is the one line that mentions the file's name, size, and hash. It's the one that looks like this:
To get that one line of output per file, is there some 7-zip option that I am overlooking?
I could use the Linux findstr command to pull out that one line, if I were doing this only for file no. 1310; but in fact I expect to do it, at times, for long lists of files, sometimes for all files in a folder or drive. My Linux scripting abilities are not remotely at the level to know how to use the filename as a variable in a loop.
Suggestions?
Last edit: raywood 2022-06-20
https://sourceforge.net/p/sevenzip/discussion/45797/thread/ba29828ce0/
Very helpful. Thank you.
Is there a way to include timestamp (i.e., each file's modification date and time) in the output?
Last edit: raywood 2022-06-21
Timestamps in that list are not implemented.