Friday, 1 February 2019

zip/unzip

sudo apt install zip unzip

zip -r filename.zip folder
zip -r filename.zip folder1 folder2
zip -r filename.zip /path/to/folder1 /path/to/file2

You can encrypt data.zip with a password by passing the -e option:
zip -r -e data.zip data/

No comments:

Post a comment