The gnu base64
util has no option to handle the URL and Filename Safe Alphabet version
(RFC 4648 / section 5) and basenc
(was introduce in coreutils v8.31) is not installed on all hosts.
So just for training, I writed this wrapper in bash!
This script is a wrapper that:
- in encoding process: