mirror of https://github.com/cheat/cheat.git
Update zip
added command for creating a zip archive from a folder/directory
This commit is contained in:
parent
5487314676
commit
bde74c701f
|
@ -1,6 +1,9 @@
|
||||||
# Create zip file
|
# Create zip file
|
||||||
zip archive.zip file1 directory/
|
zip archive.zip file1 directory/
|
||||||
|
|
||||||
|
# Create zip file from directory
|
||||||
|
zip -r archive.zip directory/
|
||||||
|
|
||||||
# Create zip file with password
|
# Create zip file with password
|
||||||
zip -P password archive.zip file1
|
zip -P password archive.zip file1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue