1BASE64(1) User Commands BASE64(1)
2
3
4
6 base64 - base64 encode/decode data and print to standard output
7
9 base64 [OPTION]... [FILE]
10
12 Base64 encode or decode FILE, or standard input, to standard output.
13
14 With no FILE, or when FILE is -, read standard input.
15
16 Mandatory arguments to long options are mandatory for short options
17 too.
18
19 -d, --decode
20 decode data
21
22 -i, --ignore-garbage
23 when decoding, ignore non-alphabet characters
24
25 -w, --wrap=COLS
26 wrap encoded lines after COLS character (default 76). Use 0 to
27 disable line wrapping
28
29 --help display this help and exit
30
31 --version
32 output version information and exit
33
34 The data are encoded as described for the base64 alphabet in RFC 4648.
35 When decoding, the input may contain newlines in addition to the bytes
36 of the formal base64 alphabet. Use --ignore-garbage to attempt to re‐
37 cover from any other non-alphabet bytes in the encoded stream.
38
40 Written by Simon Josefsson.
41
43 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
44 Report any translation bugs to <https://translationproject.org/team/>
45
47 Copyright © 2021 Free Software Foundation, Inc. License GPLv3+: GNU
48 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
49 This is free software: you are free to change and redistribute it.
50 There is NO WARRANTY, to the extent permitted by law.
51
53 Full documentation <https://www.gnu.org/software/coreutils/base64>
54 or available locally via: info '(coreutils) base64 invocation'
55
56
57
58GNU coreutils 9.0 March 2022 BASE64(1)