this post was submitted on 15 Sep 2025
25 points (93.1% liked)

Linux

9427 readers
674 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

I made a small utility for listing the file names inside an archive file, e.g. tar, zip, etc. This comes in handy when you download some software package using the command line but you aren't sure whether to extract it in its own folder because you don't know what the file structure inside is.

you are viewing a single comment's thread
view the rest of the comments
[–] RedSnt@feddit.dk 2 points 2 days ago

Nifty! I've recently begun using archivemount-ng, which allows mounting an archive of the formats you mention (not rar though, but I have rar2fs for that), and in theory one can easily mount an archive using those methods and just do a tree in the mount folder, but it seems that pear saves a few steps and makes that a lot easier.