


UUENCODE(1)               USER COMMANDS               UUENCODE(1)



NAME
     uuencode,uudecode  -  encode/decode  a   binary   file   for
     transmission via (plain text) mail

SYNOPSIS
     uuencode [source] remotedest | mail sys1!sys2!..!decode
     uuencode >outfile.uue source remotedest
     uuencode >outfile.uue <source remotedest
     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(1C)  or  other  direct
     binary transmission methods are 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 lines
     added  by  mailers, and recreates the original file with the
     specified mode and name.  If there are other uuencoded files
     in the same input, they will be decoded as well.

     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 _s_e_n_d_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
     uudecoded manually.

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

     This version of uuencode  automatically  adds  checksums  to
     each  line,  and  an overall file size to the end.  Old ver-
     sions of uudecode will ignore this  extra  information,  new
     versions will check it and complain if it is in error.

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

AUTHOR
     Mark Horton
     Checksums and Amiga port by Alan J. Rosenthal



Sun Release 3.2     Last change: 17 July 1987                   1






UUENCODE(1)               USER COMMANDS               UUENCODE(1)



     More fixes by Fred Fish
     File size check and various refinements by Bryce Nesbitt

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













































Sun Release 3.2     Last change: 17 July 1987                   2



