]> gitweb.pimeys.fr Git - scripts-20-100.git/blob - syncpass.sh
[bde/stats] cosmétique \t
[scripts-20-100.git] / syncpass.sh
1 #!/bin/bash
2
3 # Pour synchroniser mon fichier de secret vers cabal
4
5 if [ "$1" = "--local" ]
6 then
7 localmode=".local"
8 fi
9
10 if [[ "`hostname`" = "eva" ]];
11 then
12 scp -o PubkeyAuthentication=no ~/.pass/pss.gpg cabal${localmode}:.pass/pss.gpg;
13 else
14 echo "Do it on eva";
15 fi
16