mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
28 lines
1.3 KiB
Markdown
28 lines
1.3 KiB
Markdown
# base64
|
|
|
|
> फ़ाइल या `stdin` को base64 में एन्कोड या डिकोड करें, `stdout` या किसी अन्य फ़ाइल में।
|
|
> अधिक जानकारी: <https://man.freebsd.org/cgi/man.cgi?query=base64>।
|
|
|
|
- फ़ाइल को `stdout` में एन्कोड करें:
|
|
|
|
`base64 {{-i|--input}} {{फाइल/का/पथ}}`
|
|
|
|
- फ़ाइल को निर्दिष्ट आउटपुट फ़ाइल में एन्कोड करें:
|
|
|
|
`base64 {{-i|--input}} {{इनपुट_फाइल/का/पथ}} {{-o|--output}} {{आउटपुट_फाइल/का/पथ}}`
|
|
|
|
- एन्कोडेड आउटपुट को एक विशेष चौड़ाई पर लपेटें (`0` लपेटने को अक्षम करता है):
|
|
|
|
`base64 {{-b|--break}} {{0|76|...}} {{फाइल/का/पथ}}`
|
|
|
|
- फ़ाइल को `stdout` में डिकोड करें:
|
|
|
|
`base64 {{-d|--decode}} {{-i|--input}} {{फाइल/का/पथ}}`
|
|
|
|
- `stdin` से `stdout` में एन्कोड करें:
|
|
|
|
`{{command}} | base64`
|
|
|
|
- `stdin` से `stdout` में डिकोड करें:
|
|
|
|
`{{command}} | base64 {{-d|--decode}}`
|