From bde74c701f2332852eef83f78a8b967a6d47b0d1 Mon Sep 17 00:00:00 2001 From: rengoo Date: Sat, 13 Apr 2019 20:59:08 +0200 Subject: [PATCH] Update zip added command for creating a zip archive from a folder/directory --- cheat/cheatsheets/zip | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheat/cheatsheets/zip b/cheat/cheatsheets/zip index ee6f8e8..94e643a 100644 --- a/cheat/cheatsheets/zip +++ b/cheat/cheatsheets/zip @@ -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