uuencode
[file
]name
| mailremotesys
!
usr
Convert a binary
file
to a form which can be sent to
usr
via
mail
. The encoding uses only printing ASCII characters and includes the mode and
name
of the file. When
file
is reconverted via
uudecode
on the remote system, output will be sent to
name
. (Therefore, when saving the encoded mail message to a file on the remote system, don't store it in a file called
name
or you'll overwrite it!) Note that
uuencode
can take standard input, so a single argument will be taken as the name to be given to the file when it is decoded.