3 btoa, atob, tarmail, untarmail \- encode/decode binary to printable ASCII
16 is a filter that reads anything from the standard input, and encodes it into
17 printable ASCII on the standard output. It also attaches a header and checksum
18 information used by the reverse filter
20 to find the start of the data and to check integrity.
23 reads an encoded file, strips off any leading and
24 trailing lines added by mailers, and recreates a copy of the original file
25 on the standard output.
27 gives NO output (and exits with an error message) if its input is garbage or
28 the checksums do not check.
31 is a shell script that tar's up all the given files, pipes them
35 and mails them to the given person with the given subject phrase. For
39 tarmail ralph "here it is ralph" foo.c a.out
42 Will package up files "foo.c" and "a.out" and mail them to "ralph" using
43 subject "here it is ralph". Notice the quotes on the subject. They are
44 necessary to make it one argument to the shell.
47 with no args will print a short message reminding you what the required args
48 are. When the mail is received at the other end, that person should use
49 mail to save the message in some temporary file name (say "xx").
50 Then saying "untarmail xx"
51 will decode the message and untar it.
53 can also be used as a filter. By using
56 entire directory structures can be easily transmitted between machines.
57 Naturally, you should understand what tar itself does before you use
62 compress < secrets | crypt | btoa | mail ralph
64 will mail the encrypted contents of the file "secrets" to ralph. If ralph
65 knows the encryption key, he can decode it by saving the mail (say in "xx"),
68 atob < xx | crypt | uncompress
70 (crypt requests the key from the terminal,
71 and the "secrets" come out on the terminal).
73 Paul Rutter (modified by Joe Orost)
76 uses a compact base-85 encoding so that
77 4 bytes are encoded into 5 characters (file is expanded by 25%).
78 As a special case, 32-bit zero is encoded as one character. This encoding
79 produces less output than
82 compress(1), crypt(1), uuencode(1), mail(1)