4BSD/usr/man/cat1/uuencode.1c




UUENCODE(1C)        UNIX Programmer's Manual         UUENCODE(1C)



NAME
     uuencode,uudecode - encode/decode a binary file for tranmis-
     sion via mail

SYNOPSIS
     uuencode [ source ] remotedest | mail sys1!sys2!..!decode
     uudecode [ file ]

DESCRIPTION
     _U_u_e_n_c_o_d_e and _u_u_d_e_c_o_d_e are used to send a binary file via
     uucp (or other) mail.  This combination can be used over
     indirect mail links even when _u_u_s_e_n_d(_1) is not available.

     _U_u_e_n_c_o_d_e takes the named source file (default standard
     input) and produces an encoded version on the standard out-
     put.  The encoding uses only printing ASCII characters, and
     includes the mode of the file and the _r_e_m_o_t_e_d_e_s_t for recrea-
     tion on the remote system.

     _U_u_d_e_c_o_d_e reads an encoded file, strips off any leading and
     trailing lines added by mailers, and recreates the original
     file with the specified mode and name.

     The intent is that all mail to the user ``decode'' should be
     filtered through the uudecode program.  This way the file is
     created automatically without human intervention.  This is
     possible on the uucp network by either using _d_e_l_i_v_e_r_m_a_i_l or
     by making _r_m_a_i_l be a link to _M_a_i_l instead of _m_a_i_l. In each
     case, an alias must be created in a master file to get the
     automatic invocation of uudecode.

     If these facilities are not available, the file can be sent
     to a user on the remote machine who can uudecode it manu-
     ally.

     The encode file has an ordinary text form and can be edited
     by any text editor to change the mode or remote name.

SEE ALSO
     uuencode(5), uusend(1), uucp(1), uux(1), mail(1)

AUTHOR
     Mark Horton

BUGS
     The file is expanded by 35% (3 bytes become 4 plus control
     information) causing it to take longer to transmit.

     The user on the remote system who is invoking _u_u_d_e_c_o_d_e
     (often _u_u_c_p) must have write permission on the specified
     file.




Printed 11/10/80             6/1/80                             1