2 examples for base64
# Encodes file to base 64 and outputs result to stdout: base64 img.png # Decodes from base64 encoded file and outputs to stdout: base64 -d encoded.txt # or to, for example, png file: base64 -d encoded.txt > decoded.png
# Encodes file to base 64 and outputs result to stdout: base64 img.png # Decodes from base64 encoded file and outputs to stdout: base64 -d encoded.txt # or to, for example, png file: base64 -d encoded.txt > decoded.png