This answer and this one suggest p7zip to work with 7zip-archives under Linux. I can see option for compressing and decompressing. But how can I get a content-listing of an archive, without decompressing it?

link|improve this question

50% accept rate
feedback

2 Answers

Have you tried this?

7z --help

It should have told you

l: List contents of archive

So 7z l archive.7z should list the content.

link|improve this answer
The p7zip package does not have an executable called 7z. – Dennis Nov 29 '11 at 17:06
Oh, I see. It comes from p7zip-full. – choroba Nov 29 '11 at 17:48
feedback

The executable p7zip of the package p7zip does not have this function.

If you install p7zip-full, you can use the executable 7z which does.

7z -h shows you the basic syntax.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.