Files
oam/knowledge base/zip.md
2023-07-09 21:35:14 +02:00

526 B

Zip

Table of contents

  1. TL;DR
  2. Further readings

TL;DR

# recursively compress everything in the current directory to an archive named 'foo.zip'
zip -r foo .

# recursively compress two folders and a file to an archive named 'bar.zip'
zip -r bar folder1 folder2 file.txt

# list all files in the archive 'foo.zip' with info
unzip -Zl foo.zip

Further readings