mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
744 B
Plaintext
22 lines
744 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`:
|
|
|
|
`uuencode {{path/to/input_file}} {{output_file_name_after_decoding}}`
|
|
|
|
- Encode a file and write the result to a file:
|
|
|
|
`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:
|
|
|
|
`uuencode {{[-m|--base64]}} -o {{path/to/output_file}} {{path/to/input_file}} {{output_file_name_after_decoding}}`
|