From: Vincent Le Gallic Date: Wed, 18 Jun 2014 00:02:02 +0000 (+0200) Subject: [.bash_aliases] syncgpg, syncpass : les alias sont devenus des scripts X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=3aa28e7b474e9892d37f51b836ff2e73b373b0df;p=config-20-100.git [.bash_aliases] syncgpg, syncpass : les alias sont devenus des scripts --- diff --git a/.bash_aliases b/.bash_aliases index 1cd4a7b..4d62fa7 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -117,9 +117,6 @@ alias mtr='mtr -t' # Pour que les semaines de cal commencent le Lundi alias cal='ncal -bM' -# Pour synchro gpg ede cabal à ici -alias syncgpg='(ssh cabal gpg --export-options export-local-sigs --export-options export-attributes --export | gpg --import); scp cabal:~/.gnupg/trustdb.gpg ~/.gnupg/' - # +--------+ # | Divers | @@ -174,8 +171,5 @@ alias jabba='jabba 2>&1 | sed "s/introuvable/jabba/"' alias statftp="(cat /var/log/pure-ftpd/transfer.log{,.1}; zcat /var/log/pure-ftpd/*.gz) | awk '{print \$1}' | sort | uniq -c | sort -nr | less" alias tailftp='tail -n 100 -f /var/log/pure-ftpd/transfer.log | /home/vincent/scripts/ftp/percent_decode.py --color' -# Pour envoyer les passwords de eva à cabal -alias syncpass='if [[ "`hostname`" = "eva" ]]; then scp -o PubkeyAuthentication=no .pass/pss.gpg vincent@cabal.crans.org:.pass/pss.gpg; else echo "Do it on eva"; fi' - # backup-manager alias uploadbackups='backup-manager --upload'