diff --git a/cheat/cheatsheets/unzip b/cheat/cheatsheets/unzip new file mode 100644 index 0000000..6d8a792 --- /dev/null +++ b/cheat/cheatsheets/unzip @@ -0,0 +1,8 @@ +# Extract archive +unzip archive.zip + +# Test integrity of archive +unzip -tq archive.zip + +# List files and directories in a file +unzip -l archive.zip diff --git a/cheat/cheatsheets/zip b/cheat/cheatsheets/zip new file mode 100644 index 0000000..ad22773 --- /dev/null +++ b/cheat/cheatsheets/zip @@ -0,0 +1,5 @@ +# Create zip file +zip archive.zip file1 directory/ + +# To list, test and extract zip archives, see unzip +cheat unzip