28.1 Archive Files

To list the contents of a .zip file:

$ unzip -l myarchive.zip 
Archive:  myarchive.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
   224244  2008-02-28 21:33   META-INF/com/google/android/update-binary
      323  2012-04-05 15:34   META-INF/com/google/android/updater-script
   170120  2008-02-29 02:33   system/app/CalendarProvider.apk
  2913839  2008-02-29 02:33   system/app/Contacts.apk
   143789  2008-02-28 18:33   system/app/GoogleCalendarSyncAdapter.apk
  1296815  2012-03-25 00:30   system/app/Mms.apk
    52008  2008-02-29 02:33   system/app/TelephonyProvider.apk
   511641  2012-03-19 23:02   system/app/ContactsProvider.apk
  2441981  2012-04-07 00:17   system/app/BrowserGoogle.apk
   195874  2012-04-06 00:37   system/app/MyFiles.apk
   481634  2012-04-03 22:09   system/app/DeskClock.apk
---------                     -------
  8432268                     11 files

The cabextract package can be used to extract files from a CAB archive.



Your donation will support ongoing availability and give you access to the PDF version of the book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.