knot
and unknot
are simple bash script wrappers for 7zip.
Just wanted a quick (lazy) way to simple compress and encrypt a file or group of files. Who has time to remember more command arguments? XD.
It uses AES256 (7zip default for .7f files), encrypt files headers to hide file structure and it deletes original files after completing the job.
knot [file|folder|file1 file2 folder3...]
- Type output filename [first filename as default]
- Type password, repeat.
- Profit
unknot [file.7z]
- Type your password
- Profit
$# ls
file1 file2 file3 folder1 folder2
$# knot file1 file3 folder2
Output filename [file1]: myfiles
Enter your password: password@1
Repeat your password: password@1
$# ls
file2 folder1 myfiles.7z
$# unknot myfiles.7z
Enter your password: password@1
$# ls
file1 file2 file3 folder1 folder2
curl https://raw.githubusercontent.com/oezh/knot/main/installer.sh | bash
- Debian buster / Ubuntu 18 or older
- MacOS (brew installed, tested on Monterey)
- Manjaro