dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 98a72b5ad8af75fdc2b3e17f4768991d1f789208
parent b198b815b153314d407480f26ccce7b0c67ab629
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue,  2 Oct 2018 13:41:45 +0200

Add info messages to newsboat sync wrapper

Diffstat:
Mlinks/bin/newsboat-sync | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/links/bin/newsboat-sync b/links/bin/newsboat-sync @@ -1,6 +1,12 @@ #!/usr/bin/env bash set -e +function info { + echo "$(tput setaf 2)$*$(tput sgr0)" +} + +info "Downloading newest cache" rsync -aq -e 'ssh -q' ad@idkfa.ucsd.edu:~/.newsboat/cache.db ~/.newsboat/cache.db newsboat +info "Uploading local cache" rsync -aq -e 'ssh -q' ~/.newsboat/cache.db ad@idkfa.ucsd.edu:~/.newsboat/cache.db