TARing files. This compresses and combines files into one like ZIP would in windows.
tar -czvf FILE-NAME.tgz WHAT-TO-TAR.sh
Un-TARing
tar -xzf FILE_NAME.tgz
Encrypting a File.
Uses OpenSSL to encrypt and Tar to compress and seal.
tar -czvf - FILE_NAME | openssl enc -e -aes256 -out FILE_NAME.sec.tar.gz
Set the system time and BIOS time (RTC).
timedatectl set-time "2019-09-27 17:39:00"
Decrypt a File.
openssl enc -d -aes256 -in FILE_NAME.sec.tar.gz | tar -xvz FILE_NAME
Create a GPG encrypted file.
gpg -c FILE_NAME
Decrypt a GPG encrypted file.
gpg FILE_NAME.gpg