tldr/pages/common/uuencode.md

17 lines
636 B
Markdown
Raw Normal View History

2021-05-01 19:28:28 +01:00
# uuencode
> Encode binary files into ASCII for transport via mediums that only support simple ASCII encoding.
> More information: <https://manned.org/uuencode>.
- Encode a file and print the result to `stdout`:
2021-05-01 19:28:28 +01:00
`uuencode {{path/to/input_file}} {{output_file_name_after_decoding}}`
- Encode a file and write the result to a file:
2021-05-01 19:28:28 +01:00
`uuencode -o {{path/to/output_file}} {{path/to/input_file}} {{output_file_name_after_decoding}}`
- Encode a file using Base64 instead of the default uuencode encoding and write the result to a file:
2021-05-01 19:28:28 +01:00
`uuencode -m -o {{path/to/output_file}} {{path/to/input_file}} {{output_file_name_after_decoding}}`