View on GitHub

crypto.sh

A simple and easy to use script that encrypts files and packs/encrypts directories recursively with GPG/AES-256 symmetric encryption.

Features

WARNING

WILL SHRED AND DELETE ALL FILES PASSED TO IT, INCLUDING DIRECTORIES.

YOU HAVE BEEN WARNED

Usage

./crypto.sh -e[ncrypt] <infile> - to encrypt, overwrite, and delete file

./crypto.sh -d[ecrypt] <infile> - to decrypt file