Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Apropos / Subsearch:
optional field

 uuencode(1)							 uuencode(1)

      uuencode, uudecode - encode/decode a binary file for transmission by

      uuencode [source] remotedest

      uudecode [file]

      uuencode and uudecode can be used to send a binary file to another
      machine by means of such services as elm(1), mailx(1), or uucp(1) (see
      elm(1), mailx(1), and uucp(1)).

      uuencode takes the named source file (default standard input) and
      produces an encoded version on the standard output.  The encoding uses
      only printing ASCII characters, includes the original mode of the
      input file, and preserves the value of the remotedest argument which
      is the intended name for the file when it is restored later on the
      remote system.

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

      The encoded file is an ordinary ASCII text file and can be edited with
      any text editor to change the mode or remote name.

      To encode and send a compiled program foo to user friend:

	   uuencode foo foo | mailx -s 'new program' friend

      After receiving the mail message, user friend can decode the program
      by first saving the message in a file foo.mail and executing the

	   uudecode foo.mail

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

      The user on the remote system who is invoking uudecode (often uucp)
      must have write permission for the specified file.

      If an encoded file has the same name as the destination name specified
      in it, uudecode starts overwriting the encoded file before decoding is

 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000

 uuencode(1)							 uuencode(1)

      elm(1), mail(1), mailx(1), shar(1), uucp(1), uux(1), uuencode(4).

      uuencode,uudecode: XPG4, POSIX.2

 Hewlett-Packard Company	    - 2 -   HP-UX Release 11i: November 2000