1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.fr/common/base64.md

21 lines
428 B
Markdown
Raw Normal View History

2019-10-18 16:00:35 +02:00
# base64
> Encoder ou décoder un fichier ou l'entrée standard en utilisant le codage Base64 à destination de la sortie standard.
> Plus d'informations : <https://www.gnu.org/software/coreutils/base64>.
2019-10-18 16:00:35 +02:00
- Encode un fichier :
2019-10-18 16:00:35 +02:00
`base64 {{fichier}}`
- Décode un fichier :
2019-10-18 16:00:35 +02:00
2021-03-07 23:58:11 +01:00
`base64 --decode {{fichier}}`
2019-10-18 16:00:35 +02:00
- Encode depuis `stdin` :
2019-10-18 16:00:35 +02:00
`{{une_commande}} | base64`
- Décode depuis `stdin` :
2019-10-18 16:00:35 +02:00
2021-03-07 23:58:11 +01:00
`{{une_commande}} | base64 --decode`