1UUENCODE(1C) UUENCODE(1C)
2
3
4
6 uuencode, uudecode - encode/decode a binary file for transmission via
7 mail
8
10 uuencode [ source ] remotedest | mail sys1!sys2!..!decode
11 uudecode [ file ]
12
14 Uuencode and uudecode are used to send a binary file via uucp (or
15 other) mail. This combination can be used over indirect mail links
16 even when uusend(1C) is not available.
17
18 Uuencode takes the named source file (default standard input) and pro‐
19 duces an encoded version on the standard output. The encoding uses
20 only printing ASCII characters, and includes the mode of the file and
21 the remotedest for recreation on the remote system.
22
23 Uudecode reads an encoded file, strips off any leading and trailing
24 lines added by mailers, and recreates the original file with the speci‐
25 fied mode and name.
26
27 The intent is that all mail to the user ``decode'' should be filtered
28 through the uudecode program. This way the file is created automati‐
29 cally without human intervention. This is possible on the uucp network
30 by either using sendmail or by making rmail be a link to Mail instead
31 of mail. In each case, an alias must be created in a master file to
32 get the automatic invocation of uudecode.
33
34 If these facilities are not available, the file can be sent to a user
35 on the remote machine who can uudecode it manually.
36
37 The encode file has an ordinary text form and can be edited by any text
38 editor to change the mode or remote name.
39
41 atob(n), uusend(1C), uucp(1C), uux(1C), mail(1), uuencode(5)
42
44 The file is expanded by 35% (3 bytes become 4 plus control information)
45 causing it to take longer to transmit.
46
47 The user on the remote system who is invoking uudecode (often uucp)
48 must have write permission on the specified file.
49
50
51
524th Berkeley Distribution April 24, 1986 UUENCODE(1C)