List the bare contents of an archive
A free file archiver for extremely high compression
Brought to you by:
ipavlov
Request for option to list bare contents of an archive. Bare meaning only, pure file names.
It would be very useful for things like searching file names within an archive, listing files for other tools in pipeline, providing content of archive to other tools or scripts.
Tar and rar can do that. It would be useful to be able to do that with .7z archives too.
$ tar -t -f arc1.tar
path/
path/to/
path/to/file.3
path/to/file.2
path/to/file.1
$ rar lb arc1.rar
path/to/file.3
path/to/file.2
path/to/file.1
path/to
path
That's not the same. Test it yourself and tell me that's the answer.
So? https://sourceforge.net/p/sevenzip/discussion/45798/thread/aadb3f765e/?limit=25#b923