Command line python app to encode/decode base64 strings.
- Download the code.
- nano ~/.bashrc
- alias b64ed="python3 /path/to/project/main.py"
- Save and exit
Now you can execute b64ed -h
- Download the code.
- nano ~/.zshrc
- alias b64ed="python3 /path/to/project/main.py"
- Save and exit
Now you can execute b64ed -h
- Run .windows\alias.bat file as ADMIN from CMD or Windows file explorer.
Now you can execute b64ed -h
base64ed [-f | -e | -d | -h | help | man] [stringFile]
- -f -> Encode file in base64. If you use this option, it is recommended to use
pbcopy
due to large result:base64ed -f /path/to/file | pbcopy
: Encode file and copy it to clipboard.
- -e -> Encode string in base64.
- -d -> Decode base64 string.
- -h/help/man -> Print this help.
- stringFile -> String or path to encode/decode. Mandatory with -e/d/f options.