Name

base64

Synopsis

base64 [option] [file]

Use base64 encoding to encode or decode the specified file and print the results to standard output. With no file or with a dash (-), read the data from standard input.

Options

-d, --decode

Decode the data.

--help

Print help message and exit.

-i, --ignore-garbage

When decoding, ignore nonalphabetic characters except newline.

--version

Print version information and exit.

-w cols, --wrap=cols

When encoding, wrap lines after cols characters. The default is 76, while 0 disables line wrap.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.