List all files in a zip file using the unzip command

Example:

unzip -l backup.zip

Example output:

Archive:  backup.zip

  Length      Date    Time    Name
---------  ---------- -----   ----
646831185  05-04-2013 01:18   root/sqldump.sql
---------                     -------
646831185                     1 file

Source

One thought on “List all files in a zip file using the unzip command

  1. Pingback: Keeping a snippet journal | Living with technology

Leave a Reply

Your email address will not be published. Required fields are marked *

Markdown is allowed in comments.