mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
add zip/unzip
This commit is contained in:
parent
417f47f037
commit
59accc64f7
8
cheat/cheatsheets/unzip
Normal file
8
cheat/cheatsheets/unzip
Normal 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
5
cheat/cheatsheets/zip
Normal file
@ -0,0 +1,5 @@
|
||||
# Create zip file
|
||||
zip archive.zip file1 directory/
|
||||
|
||||
# To list, test and extract zip archives, see unzip
|
||||
cheat unzip
|
Loading…
Reference in New Issue
Block a user