Merge pull request #225 from Mic92/master

add zip/unzip
This commit is contained in:
Chris Lane 2015-06-18 18:19:53 -04:00
commit aa9b3e8bb4
2 changed files with 13 additions and 0 deletions

8
cheat/cheatsheets/unzip Normal file
View File

@ -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

5
cheat/cheatsheets/zip Normal file
View File

@ -0,0 +1,5 @@
# Create zip file
zip archive.zip file1 directory/
# To list, test and extract zip archives, see unzip
cheat unzip