View on GitHub

HomeSetup

HomeSetup simplifies terminal customization by offering seamless cloud integration for dotfiles, packages, and configurations, enhancing productivity and command line experiences without complex frameworks.

Download this project as a .zip file Download this project as a tar.gz file

HomeSetup Developer Handbook

Standard-Tools

Table of contents

__hhs_encrypt_file

usage: __hhs_encrypt_file <filename> <passphrase>  [keep]
Purpose

Encrypt file using GPG.

Returns

0 on success; non-zero otherwise.

Parameters
Examples

encrypt test.txt '12345'

Output

File "test.txt" has been encrypted !

__hhs_decrypt_file

usage: __hhs_decrypt_file <filename> <passphrase> [keep]
Purpose

Decrypt a GPG encrypted file.

Returns

0 on success; non-zero otherwise.

Parameters
Examples

decrypt test.txt '12345'

Output

File "test.txt" has been decrypted !