Suppose I have a ZIP archive myfiles.zip
. To list the files inside the ZIP file, I could do zip -sf myfiles.zip
, which results in:
Archive contains:
files/mypic.jpg
files/myvideo.mp4
Total 2 entries (12345678 bytes)
Is there a way to list these files together with their file sizes? For example:
Archive contains:
files/mypic.jpg 1234
files/myvideo.mp4 456789
...