uuencode - encoded binary files

Overview (SYNOPSIS)

uuencode [-m] [ file ] name

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

 

Description (DESCRIPTION)

Uuencode and uudecode for some simple ASCII data channel only transmit binary file transfer.

Uuencode read the file file contents (default is standard input), and the encoded file sent to standard output. Coding uses only ASCII characters, while file access mode and target file name name stored in the destination file for uudecode use. If the destination file name name is the standard output / dev / stdout, Uuencode will generate results sent to standard output. the default standard uses UU-encoded format. If you specify on the command line -m option, Uuencode to switch to base64 encoded format.

 

Uudecode the uuencode encoded files File (default is standard input) decoded into the original form. File generated named name (if the -o option, the file name is the outfile ), has the original file access patterns, but and removing setuid executable bit. If outfile or name is / dev / stdout, Uudecode will result to generate a standard output. Uudecode ignore any (extra) before and after the line which can automatically identify the coding format, and using a decoding scheme corresponding .

 

Examples (EXAMPLES)

The following example shows the user a package source tree, compress, UU-encoded and then sent to another system in the destination operation uudecode generated `` src_tree.tar.Z '' file, this file can be expanded restore the original file tree.

 

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

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11102194.html