uudecode [ encoded-file ]
If the remote host is a UNIX system with the sendmail.8 mail-message delivery daemon, you can pipe the output of uuencode through mail.1 to the recipient named decode on the remote host. This recipient is typically an alias for the uudecode program (see aliases.5 for details), which allows a binary file to be decoded (extracted) from a mail message automatically. If this alias is absent on a particular host, the encoded file can be mailed to a user, who can run it through uudecode manually.
uudecode reads an encoded-file, strips off any leading and trailing lines added by mailer programs, and recreates the original binary data with the filename and the mode and owner specified in the header.
The encoded file is an ordinary ASCII text file; it can be edited by any text editor. But it is best only to change the mode or file-label in the header to avoid corrupting the decoded binary.
The user on the remote system who is invoking uudecode (typically uucp) must have write permission on the file specified in the file-label.
Since both uuencode and uudecode run with user ID set to uucp, uudecode can fail with ``permission denied'' when attempted in a directory that does not have write permission allowed for ``other.''
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97