|
|
1.1 root 1: .\" Copyright (c) 1980 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)uuencode.1c 6.2 (Berkeley) 4/24/86
6: .\"
7: .TH UUENCODE 1C "April 24, 1986"
8: .UC 4
9: .SH NAME
10: uuencode, uudecode \- encode/decode a binary file for transmission via mail
11: .SH SYNOPSIS
12: .B uuencode
13: [ source ] remotedest |
14: .B mail
15: sys1!sys2!..!decode
16: .br
17: .B uudecode
18: [ file ]
19: .SH DESCRIPTION
20: .I Uuencode
21: and
22: .I uudecode
23: are used to send a binary file via uucp (or other) mail.
24: This combination can be used over indirect mail links
25: even when
26: .IR uusend (1C)
27: is not available.
28: .PP
29: .I Uuencode
30: takes the named source file (default standard input) and
31: produces an encoded version on the standard output.
32: The encoding uses only printing ASCII characters,
33: and includes the mode of the file and the
34: .I remotedest
35: for recreation on the remote system.
36: .PP
37: .I Uudecode
38: reads an encoded file,
39: strips off any leading and trailing lines added by mailers,
40: and recreates the original file with the specified mode and name.
41: .PP
42: The intent is that all mail to the user ``decode'' should be filtered
43: through the
44: .I uudecode
45: program. This way the file is created automatically
46: without human intervention.
47: This is possible on the uucp network by either using
48: .I sendmail
49: or by making
50: .I rmail
51: be a link to
52: .I Mail
53: instead of
54: .IR mail .
55: In each case, an alias must be created in a master file to get
56: the automatic invocation of
57: .IR uudecode .
58: .PP
59: If these facilities are not available, the file can be sent to a
60: user on the remote machine who can uudecode it manually.
61: .PP
62: The encode file has an ordinary text form and can be edited
63: by any text editor to change the mode or remote name.
64: .SH SEE ALSO
65: atob(n), uusend(1C), uucp(1C), uux(1C), mail(1), uuencode(5)
66: .SH BUGS
67: The file is expanded by 35% (3 bytes become 4 plus control information)
68: causing it to take longer to transmit.
69: .PP
70: The user on the remote system who is invoking
71: .I uudecode
72: (often
73: .IR uucp )
74: must have write permission on the specified file.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.