This is a simple CLI command that encodes and decodes files using base64.
Before you start, you need to have Golang installed. For more help see here
go get github.com/c0nstantx/base64encdec
go build github.com/c0nstantx/base64encdec
The command encodes and decodes files and print the result to standard output
Basic usage:
base64encdec [encode|decode] /path/to/file
base64encdec encode /path/to/file Print to stdout (encode)
base64encdec encode /path/to/file > /path/to/encoded/file Save to file (encode)
base64encdec decode /path/to/file Print to stdout (decode)
base64encdec decode /path/to/file > /path/to/decoded/file Save to file (decode)