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
|
||||
```bash
|
||||
enigmail write
|
||||
enigmail w
|
||||
```
|
||||
######Modifier les paramètres
|
||||
```bash
|
||||
enigmail config
|
||||
enigmail c
|
||||
```
|
||||
######Réinitialiser les paramètres
|
||||
```bash
|
||||
enigmail init
|
||||
enigmail i
|
||||
```
|
||||
######Lire
|
||||
```bash
|
||||
enigmail read
|
||||
enigmail r
|
||||
```
|
||||
######Effacer le contenu
|
||||
```bash
|
||||
enigmail empty
|
||||
enigmail em
|
||||
```
|
||||
######Crypter
|
||||
```bash
|
||||
enigmail encode
|
||||
enigmail encode 168
|
||||
enigmail encode 0x1f2e85
|
||||
|
||||
enigmail e
|
||||
enigmail e 168
|
||||
enigmail e 0x1f2e85
|
||||
```
|
||||
######Décrypter
|
||||
```bash
|
||||
enigmail decode
|
||||
enigmail decode 168
|
||||
enigmail decode 0x1285
|
||||
|
||||
enigmail d
|
||||
enigmail d 168
|
||||
enigmail d 0x1285
|
||||
```
|
||||
######Envoyer par mail
|
||||
```bash
|
||||
enigmail send
|
||||
enigmail ms # MailSend
|
||||
```
|
||||
######Récupérer le contenu du dernier mail
|
||||
```bash
|
||||
enigmail receive
|
||||
enigmail mr # MailReceive
|
||||
```
|
||||
######Obtenir de l'aide
|
||||
```bash
|
||||
enigmail help
|
||||
enigmail h
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -4,9 +4,9 @@ smtp_port = 587
|
|||
imap_server = imap.gmail.com
|
||||
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
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
coucou
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ then # si 1 paramètre au moins
|
|||
fi;
|
||||
|
||||
case $1 in
|
||||
'help') cat "$path/source/help"|less;;
|
||||
'init') # initialise le contenu du fichier de config
|
||||
'h'|'help') cat "$path/source/help"|less;;
|
||||
'i'|'init') # initialise le contenu du fichier de config
|
||||
echo "smtp_server = smtp.gmail.com" > "$path/.config";
|
||||
echo "smtp_port = 587" >> "$path/.config";
|
||||
echo "" >> "$path/.config";
|
||||
|
@ -42,21 +42,21 @@ then # si 1 paramètre au moins
|
|||
echo "" >> "$path/.config";
|
||||
echo "text_editor = nano" >> "$path/.config";
|
||||
;;
|
||||
'config')
|
||||
'c'|'config')
|
||||
if [ -z $param ]
|
||||
then # si aucun parametre alors on lance l'editeur choisi
|
||||
$editor "$path/.config"; # ouvre en modification le fichier de config
|
||||
else
|
||||
$editor "$path/.config";
|
||||
fi;;
|
||||
'write') $editor "$path/bucket-file";; # ouvre en modification le bucket file
|
||||
'empty') echo "">"$path/bucket-file";; # vide le bucket file
|
||||
'w'|'write') $editor "$path/bucket-file";; # ouvre en modification le bucket file
|
||||
'em'|'empty') echo "">"$path/bucket-file";; # vide le bucket file
|
||||
# ouvre en lecture le bucket file
|
||||
'read') echo "\n======================================="; cat "$path/bucket-file"; echo "\n=======================================";;
|
||||
'encode') python "$path/source/encode.py" $param;;
|
||||
'decode') python "$path/source/decode.py" $param;;
|
||||
'receive') python "$path/source/receive.py" $param;;
|
||||
'send') python "$path/source/send.py" $param;;
|
||||
'r'|'read') echo "\n======================================="; cat "$path/bucket-file"; echo "\n=======================================";;
|
||||
'e'|'encode') python "$path/source/encode.py" $param;;
|
||||
'd'|'decode') python "$path/source/decode.py" $param;;
|
||||
'mr'|'receive') python "$path/source/receive.py" $param;;
|
||||
'ms'|'send') python "$path/source/send.py" $param;;
|
||||
*) echo "Erreur";
|
||||
esac;
|
||||
else
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue