mirror of
https://github.com/Picocrypt/CLI.git
synced 2026-03-11 14:44:23 +00:00
A command-line interface for Picocrypt.
Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar) from 3.17.1 to 3.18.0. - [Release notes](https://github.com/schollz/progressbar/releases) - [Commits](https://github.com/schollz/progressbar/compare/v3.17.1...v3.18.0) --- updated-dependencies: - dependency-name: github.com/schollz/progressbar/v3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|---|---|---|
| .github | ||
| picocrypt | ||
| .gitignore | ||
| CODEOWNERS | ||
| LICENSE | ||
| README.md | ||
| VERSION | ||
Installation
If you don't have Go installed, download it from here or install it from your package manager. Next:
go install github.com/Picocrypt/CLI/picocrypt@latest
You should now be able to run picocrypt in your terminal. If not, run export PATH=$PATH:$(go env GOPATH)/bin and try again.
Alternatively, you can use the prebuilt binaries in Releases.
Usage
C:\Users\Evan>picocrypt
Usage: picocrypt <item1> [<item2> ...]
Items: can be files, folders, or globs
Flags:
-f (decryption) attempt to fix corruption
-k (decryption) keep output even if corrupted
-p (encryption) use paranoid mode
-r (encryption) encode with Reed-Solomon
Examples
To encrypt a single file:
picocrypt secret.pdf
To encrypt all files in the current working directory:
picocrypt *
To encrypt all PNGs and JPGs with paranoid mode and Reed-Solomon:
picocrypt -p -r *.png *.jpg
To decrypt a volume:
picocrypt volume.pcv