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.
|
2021-10-07 09:37:39 +02:00
|
|
|
> Plus d'informations : <https://www.gnu.org/software/coreutils/base64>.
|
2019-10-18 16:00:35 +02:00
|
|
|
|
2021-10-07 09:37:39 +02:00
|
|
|
- Encode un fichier :
|
2019-10-18 16:00:35 +02:00
|
|
|
|
|
|
|
`base64 {{fichier}}`
|
|
|
|
|
2021-10-07 09:37:39 +02:00
|
|
|
- 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
|
|
|
|
2023-07-02 06:12:01 -07:00
|
|
|
- Encode depuis `stdin` :
|
2019-10-18 16:00:35 +02:00
|
|
|
|
|
|
|
`{{une_commande}} | base64`
|
|
|
|
|
2023-07-02 06:12:01 -07:00
|
|
|
- Décode depuis `stdin` :
|
2019-10-18 16:00:35 +02:00
|
|
|
|
2021-03-07 23:58:11 +01:00
|
|
|
`{{une_commande}} | base64 --decode`
|