Update zip

added command for creating a zip archive from a folder/directory
This commit is contained in:
rengoo 2019-04-13 20:59:08 +02:00 committed by GitHub
parent 5487314676
commit bde74c701f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
# Create zip file
zip archive.zip file1 directory/
# Create zip file from directory
zip -r archive.zip directory/
# Create zip file with password
zip -P password archive.zip file1