SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from RedHat 6.X sharutils-4.2.1-1.6.1.i386.rpm

uuencode

Section: User Commands (1)
Index 

NAME

uuencode - encode a binary file

uudecode - decode a file created by uuencode 

SYNOPSIS

uuencode[-m] [ file ] name

uudecode[-o outfile] [ file ]... 

DESCRIPTION

Uuencodeanduudecodeare used to transmit binary files over transmission mediumsthat do not support other than simpleASCIIdata.

Uuencodereadsfile(or by default the standard input) and writes an encoded versionto the standard output.The encoding uses only printingASCIIcharacters and includes themode of the file and the operandnamefor use byuudecode.Ifnameis/dev/stdoutthe result will be written to standard output. By default the standardUU encoding format will be used. If the option-mis given on the command linebase64encoding is used instead.

Uudecodetransformsuuencodedfiles(or by default, the standard input) into the original form.The resulting file is namedname(oroutfileif the -o option is given)and will have the mode of the original file except that setuidand execute bits are not retained. Ifoutfileornameis /dev/stdout the result will be written to standard output.Uudecodeignores any leading and trailing lines. The program can automatically decidewhich of the both supported encoding schemes are used. 

EXAMPLES

The following example packages up a source tree, compresses it,uuencodes it and mails it to a user on another system.Whenuudecodeis run on the target system, the file ``src_tree.tar.Z'' will becreated which may then be uncompressed and extracted into the originaltree.

tar cf - src_tree | compress |uuencode src_tree.tar.Z | mail sys1!sys2!user

 

SEE ALSO

compress(1), mail(1), uucp(1), uuencode(5) 

STANDARDS

This implementation is compliant with P1003.2b/D11. 

BUGS

If more than one file is given touudecodeand the -o option is given or more than onenamein the encoded files are the same the result is probably not what is expected.

The encoded form of the file is expanded by 37% for UU encoding and by 35%for base64 encoding (3 bytes become 4 plus control information). 

HISTORY

Theuuencodecommand appeared inBSD 4.0.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
SEE ALSO
STANDARDS
BUGS
HISTORY

This document was created byman2html,using the manual pages.