Ajout de raccourcis (1-2 lettres) + màj README.md pour raccourcis
This commit is contained in:
parent
78f7101f81
commit
f7b121a32a
16
README.md
16
README.md
|
@ -41,46 +41,62 @@ Si vous obtenez une erreur, retournez à la première étape vous n'êtes pas da
|
||||||
######Ecrire
|
######Ecrire
|
||||||
```bash
|
```bash
|
||||||
enigmail write
|
enigmail write
|
||||||
|
enigmail w
|
||||||
```
|
```
|
||||||
######Modifier les paramètres
|
######Modifier les paramètres
|
||||||
```bash
|
```bash
|
||||||
enigmail config
|
enigmail config
|
||||||
|
enigmail c
|
||||||
```
|
```
|
||||||
######Réinitialiser les paramètres
|
######Réinitialiser les paramètres
|
||||||
```bash
|
```bash
|
||||||
enigmail init
|
enigmail init
|
||||||
|
enigmail i
|
||||||
```
|
```
|
||||||
######Lire
|
######Lire
|
||||||
```bash
|
```bash
|
||||||
enigmail read
|
enigmail read
|
||||||
|
enigmail r
|
||||||
```
|
```
|
||||||
######Effacer le contenu
|
######Effacer le contenu
|
||||||
```bash
|
```bash
|
||||||
enigmail empty
|
enigmail empty
|
||||||
|
enigmail em
|
||||||
```
|
```
|
||||||
######Crypter
|
######Crypter
|
||||||
```bash
|
```bash
|
||||||
enigmail encode
|
enigmail encode
|
||||||
enigmail encode 168
|
enigmail encode 168
|
||||||
enigmail encode 0x1f2e85
|
enigmail encode 0x1f2e85
|
||||||
|
|
||||||
|
enigmail e
|
||||||
|
enigmail e 168
|
||||||
|
enigmail e 0x1f2e85
|
||||||
```
|
```
|
||||||
######Décrypter
|
######Décrypter
|
||||||
```bash
|
```bash
|
||||||
enigmail decode
|
enigmail decode
|
||||||
enigmail decode 168
|
enigmail decode 168
|
||||||
enigmail decode 0x1285
|
enigmail decode 0x1285
|
||||||
|
|
||||||
|
enigmail d
|
||||||
|
enigmail d 168
|
||||||
|
enigmail d 0x1285
|
||||||
```
|
```
|
||||||
######Envoyer par mail
|
######Envoyer par mail
|
||||||
```bash
|
```bash
|
||||||
enigmail send
|
enigmail send
|
||||||
|
enigmail ms # MailSend
|
||||||
```
|
```
|
||||||
######Récupérer le contenu du dernier mail
|
######Récupérer le contenu du dernier mail
|
||||||
```bash
|
```bash
|
||||||
enigmail receive
|
enigmail receive
|
||||||
|
enigmail mr # MailReceive
|
||||||
```
|
```
|
||||||
######Obtenir de l'aide
|
######Obtenir de l'aide
|
||||||
```bash
|
```bash
|
||||||
enigmail help
|
enigmail help
|
||||||
|
enigmail h
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@ smtp_port = 587
|
||||||
imap_server = imap.gmail.com
|
imap_server = imap.gmail.com
|
||||||
imap_port = 993
|
imap_port = 993
|
||||||
|
|
||||||
mail_address = test@mail.com
|
mail_address = doowap31@gmail.com
|
||||||
|
|
||||||
login = equal_mailadress_or_different_login
|
login = doowap31@gmail.com
|
||||||
|
|
||||||
algorithm_complexity = 1
|
algorithm_complexity = 1
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
coucou
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ then # si 1 paramètre au moins
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
'help') cat "$path/source/help"|less;;
|
'h'|'help') cat "$path/source/help"|less;;
|
||||||
'init') # initialise le contenu du fichier de config
|
'i'|'init') # initialise le contenu du fichier de config
|
||||||
echo "smtp_server = smtp.gmail.com" > "$path/.config";
|
echo "smtp_server = smtp.gmail.com" > "$path/.config";
|
||||||
echo "smtp_port = 587" >> "$path/.config";
|
echo "smtp_port = 587" >> "$path/.config";
|
||||||
echo "" >> "$path/.config";
|
echo "" >> "$path/.config";
|
||||||
|
@ -42,21 +42,21 @@ then # si 1 paramètre au moins
|
||||||
echo "" >> "$path/.config";
|
echo "" >> "$path/.config";
|
||||||
echo "text_editor = nano" >> "$path/.config";
|
echo "text_editor = nano" >> "$path/.config";
|
||||||
;;
|
;;
|
||||||
'config')
|
'c'|'config')
|
||||||
if [ -z $param ]
|
if [ -z $param ]
|
||||||
then # si aucun parametre alors on lance l'editeur choisi
|
then # si aucun parametre alors on lance l'editeur choisi
|
||||||
$editor "$path/.config"; # ouvre en modification le fichier de config
|
$editor "$path/.config"; # ouvre en modification le fichier de config
|
||||||
else
|
else
|
||||||
$editor "$path/.config";
|
$editor "$path/.config";
|
||||||
fi;;
|
fi;;
|
||||||
'write') $editor "$path/bucket-file";; # ouvre en modification le bucket file
|
'w'|'write') $editor "$path/bucket-file";; # ouvre en modification le bucket file
|
||||||
'empty') echo "">"$path/bucket-file";; # vide le bucket file
|
'em'|'empty') echo "">"$path/bucket-file";; # vide le bucket file
|
||||||
# ouvre en lecture le bucket file
|
# ouvre en lecture le bucket file
|
||||||
'read') echo "\n======================================="; cat "$path/bucket-file"; echo "\n=======================================";;
|
'r'|'read') echo "\n======================================="; cat "$path/bucket-file"; echo "\n=======================================";;
|
||||||
'encode') python "$path/source/encode.py" $param;;
|
'e'|'encode') python "$path/source/encode.py" $param;;
|
||||||
'decode') python "$path/source/decode.py" $param;;
|
'd'|'decode') python "$path/source/decode.py" $param;;
|
||||||
'receive') python "$path/source/receive.py" $param;;
|
'mr'|'receive') python "$path/source/receive.py" $param;;
|
||||||
'send') python "$path/source/send.py" $param;;
|
'ms'|'send') python "$path/source/send.py" $param;;
|
||||||
*) echo "Erreur";
|
*) echo "Erreur";
|
||||||
esac;
|
esac;
|
||||||
else
|
else
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue