commit a50e206a76cafaabc7a6a0ed218ad7762818b1a3 parent 3bb02f2dd4075662bc5ad7f4d27d3928bf37277d Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 30 Oct 2020 12:42:37 +0100 sfeed_sync: fix key arguments Diffstat:
M | .local/bin/sfeed_sync | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.local/bin/sfeed_sync b/.local/bin/sfeed_sync @@ -1,5 +1,5 @@ #!/bin/sh key="$HOME/.ssh/id_rsa_sfeed" -ssh -i "$key" sfeed@adamsgaard.dk "sfeed_update "$HOME/.sfeed/sfeedrc.daily" -ssh -i "$key" sfeed@adamsgaard.dk "sfeed_update "$HOME/.sfeed/sfeedrc" -rsync -az -e "ssh -i ${key}" sfeed@adamsgaard.dk:~/.sfeed/ ~/.sfeed/ +ssh -i "$key" sfeed@adamsgaard.dk 'sfeed_update $HOME/.sfeed/sfeedrc.daily' +ssh -i "$key" sfeed@adamsgaard.dk 'sfeed_update $HOME/.sfeed/sfeedrc' +rsync -vaz -e "ssh -i $key" sfeed@adamsgaard.dk:~/.sfeed/ ~/.sfeed/