Could there be 2 options added for the -l (list) switch:
https://sevenzip.osdn.jp/chm/cmdline/commands/list.htm
1)
A switch for names only, which only outputs a list file/foldernames.
Example:
file1.txt
file2.txt
etcc...
It's a flat output, just all the file/folder folders (no need for paths)
2)
A switch for paths only, which only outputs the full paths within the archive.
Example
\folder_a\textfile_1.txt
\folder_b\textfile_2.txt
The first "\" is the root within the archive..
This makes it a bit easier for user made scripts to parse the content.
Off course it is possible with text/string/regex functions the default -l output could be transformed to a list. But a switch that already only outputs paths/names could reduce errors made when having to cleanup the the default output using the -l switch.
Maybe there already was a switch for this, in that case my apologies. I searched for this but only found the above url.
Thank you.