Zip: Difference between revisions
From wikinotes
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<source lang="bash"> | <source lang="bash"> | ||
zip -r dst.zip src/ | zip -r dst.zip src/ # encrypt | ||
unzip dst.zip -d out/ | unzip dst.zip -d out/ # decrpt | ||
</source> | </source> | ||
useful params | |||
<syntaxhighlight lang="bash"> | |||
zip \ | |||
--encrypt `# requests a password, encryption algorithm varies` | |||
</syntaxhighlight> | |||
verify encryption algorithm used | |||
<syntaxhighlight lang="bash"> | |||
7z l -slt file.zip | |||
</syntaxhighlight> |
Latest revision as of 19:29, 13 August 2022
zip -r dst.zip src/ # encrypt
unzip dst.zip -d out/ # decrpt
useful params
zip \
--encrypt `# requests a password, encryption algorithm varies`
verify encryption algorithm used
7z l -slt file.zip