Main index | Section 1 | 日本語 | Options |
The uuencode utility reads file (or by default the standard input) and writes an encoded version to the standard output, or output_file if one has been specified. The encoding uses only printing ASCII characters and includes the mode of the file and the operand name for use by uudecode.
The uudecode utility transforms uuencoded files (or by default, the standard input) into the original form. The resulting file is named either name or (depending on options passed to uudecode) output_file and will have the mode of the original file except that setuid and execute bits are not retained. The uudecode utility ignores any leading and trailing lines.
The following options are available for uuencode:
| |
Use the Base64 method of encoding, rather than the traditional uuencode algorithm. | |
| |
Produce raw output by excluding the initial and final framing lines. | |
| |
Output to output_file instead of standard output. | |
The following options are available for uudecode:
| |
Decode more than one uuencoded file from file if possible. | |
| |
Do not overwrite files. | |
| |
When used with the
| |
| |
Output to output_file instead of any pathname contained in the input data. | |
| |
Decode file and write output to standard output. | |
| |
Decode raw (or broken) input, which is missing the initial and
possibly the final framing lines.
The input is assumed to be in the traditional
uuencode
encoding, but if the
| |
| |
Do not strip output pathname to base filename. By default uudecode deletes any prefix ending with the last slash '/' for security reasons. | |
tar cf - src_tree amp;| compress amp;| uuencode src_tree.tar.Z amp;| mail user@example.com
The following example unpacks all uuencoded files from your mailbox into your current working directory.
uudecode -c < $MAIL
The following example extracts a compressed tar archive from your mailbox
uudecode -o /dev/stdout < $MAIL | zcat | tar xfv -
UUENCODE (1) | January 27, 2002 |
Main index | Section 1 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Modern Unix impedes progress in computer science, wastes billions of dollars, and destroys the common sense of many who seriously use it. | ” |
— The Unix Haters' handbook |