commit 8f463abe4f72d067b3b99f2b6cc82b7dbda22ea6 parent 96bfb72c09602f96e47528e12908be7ab74bb37e Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 21 Sep 2018 14:19:21 +0200 Fix paths in sync Diffstat:
M | links/bin/newsboat-sync | | | 7 | ++----- |
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/links/bin/newsboat-sync b/links/bin/newsboat-sync @@ -1,9 +1,6 @@ #!/usr/bin/env bash set -e -remote="ad@idkfa.ucsd.edu" -cache="~/.newsboat/cache.db" - -rsync -raq -e 'ssh -q' "$remote":"$cache" "$cache" +rsync -aq -e 'ssh -q' ad@idkfa.ucsd.edu:~/.newsboat/cache.db ~/.newsboat/cache.db newsboat -rsync -raq -e 'ssh -q' "$cache" "$remote":"$cache" +rsync -aq -e 'ssh -q' ~/.newsboat/cache.db ad@idkfa.ucsd.edu:~/.newsboat/cache.db