base64 encode/decode files or standard input and output
base64 encode or decode file
or standard input
to standard output;
base64 [OPTION]... [FILE]
-d, --decode # Decode
-i, --ignore-garbage # Ignore non-alphabetic characters when decoding
-w, --wrap=COLS # Automatically wrap lines after the specified number of characters (default is 76), 0 disables automatic line wrapping
--help #Display this help description and exit
--version # Output version information and exit
encoded string
printf foo|base64
encoding file
base64 file
decoding
printf Zm9v|base64 -d
decode file
base64 -d file