The problem
My Macbook Pro has a fairly small hardrive, so I try to compress files that I do not need on an everyday basis. Mac OS X tends to decompress any archive file that you click on and I needed to check the content of an archive that resided on Dropbox.
The solution
The archive I was looking at was a tar.gz archive. It turns out tar does this very well, which I found out through this blog :
1
|
|
or without the dash (BSD-style options) :
1
|
|
If the archive is a zipfile, one can use the zipinfo command :
1
|
|
or unzip -l :
1
|
|