This document provides examples of how to use the Encryption CLI tool for various operations including file encryption, decryption, and compression.
Encrypt a file using default compression (balanced):
filelock encrypt myfile.txt --password mysecretpasswordBest for achieving smallest file size:
filelock encrypt largefile.txt --password mysecretpassword --compression maxOptimal for quick operations with decent compression:
filelock encrypt quickfile.txt --password mysecretpassword --compression fastUse when compression is not needed:
filelock encrypt sensitivefile.txt --password mysecretpassword --compression noneDecrypt an encrypted file:
filelock decrypt myfile.txt.flk --password mysecretpasswordDecrypt and save to a specific path:
filelock decrypt myfile.txt.flk --password mysecretpassword --output /custom/path/myfile.txt