imagepush: Use gpg-encrypted password

This commit is contained in:
Alexander Gehrke (crater2150) 2016-01-05 03:47:24 +01:00
parent 40c5d167af
commit d22d166e2c

View file

@ -1,7 +1,7 @@
autoload -U zfinit && zfinit autoload -U zfinit && zfinit
imagepush() { imagepush() {
zfopen "crater2150.de" "ftp33701-crimages" \\ zfopen "crater2150.de" "ftp33701-crimages" \
"$(gpg -d $HOME/.passwords/imagepush)" "$(gpg -d $HOME/.passwords/imagepush)"
zfcd / zfcd /
zfput $* && echo "Transfer succesful" zfput $* && echo "Transfer succesful"