Files
tldr/pages.zh/common/uuencode.md

16 lines
632 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# uuencode
> 将二进制文件编码为 ASCII以便通过仅支持简单 ASCII 编码的媒介进行传输。
> 更多信息:<https://manned.org/uuencode>。
- 编码一个文件并将结果打印到 `stdout`
`uuencode {{path/to/input_file}} {{output_file_name_after_decoding}}`
- 编码一个文件并将结果写入文件:
`uuencode -o {{path/to/output_file}} {{path/to/input_file}} {{output_file_name_after_decoding}}`
- 使用 Base64 编码文件而不是默认的 uuencode 编码,并将结果写入文件:
`uuencode -m -o {{path/to/output_file}} {{path/to/input_file}} {{output_file_name_after_decoding}}`