I will be running 7Zip from node.js as a command line batch job. Is there a way to track the progress, (i.e. to read the progress meter (20% OF 100%) either by reading the output stream, or any other way so that I can forward this to a user.
Thanks
I have found one can get incremental progress from the command line (no GUI). Try the -bsp1 switch: https://sevenzip.osdn.jp/chm/cmdline/switches/bs.htm
However, a better way to create and track a zip archive creation is probably to use a npm package called archiver (https://github.com/archiverjs/node-archiver/issues/147) which does not need to do context switching, or reading of the output stream, to track, and my testing shows it runs at the same or better speed than 7zip.