Encodes a binary file for transmission using electronic mail.
uuencode [ SourceFile ] RemoteFile
The uuencode command converts a binary file to ASCII data before using BNU (or uucp) mail to send the file to a remote system. The uudecode command converts ASCII data created by the uuencode command back into its original binary form.
The uuencode command takes the named SourceFile (default standard input) and produces an encoded version on the standard output. The encoding uses only printable ASCII characters, and includes the mode of the file and the RemoteFile filename used for recreation of the binary image on the remote system.
Use the uudecode command to decode the file.
RemoteFile | Specifies the name the decoded file will have. |
SourceFile | Specifies the name of the binary file to convert. Default is standard input. |
uuencode unix unix | mail jsmith@mysys
uuencode /usr/lib/boot/unix pigmy.goat > /tmp/con
/usr/bin/uuencode | Contains the uuencode command. |
The mail command, rmail command, sendmail command, uucp command, uudecode command, uusend command, uux command.