Encodes a binary file for transmission using electronic mail.
uuencode [ -m ] [ SourceFile ] OutputFile
The uuencode command converts a binary file to ASCII data. This is useful 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 OutputFile filename used for recreation of the binary image on the remote system.
Use the uudecode command to decode the file.
Item | Description |
---|---|
-m | Encode the output using the MIME Base64 algorithm. If -m is not specified, the old uuencode algorithm will be used. |
Item | Description |
---|---|
OutputFile | Specifies the name of the decoded file. You can direct the output of the uuencode command to standard output by specifying /dev/stdout as the OutputFile. |
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
Item | Description |
---|---|
/usr/bin/uuencode | Contains the uuencode command. |