Merge branch 'master' of feistymeow.org:feisty_meow
authorChris Koeritz <fred@gruntose.com>
Mon, 20 May 2019 19:22:41 +0000 (15:22 -0400)
committerChris Koeritz <fred@gruntose.com>
Mon, 20 May 2019 19:22:41 +0000 (15:22 -0400)
fixing weird issues in raw_synch state

1  2 
scripts/archival/raw_synch.sh

index 17c4b9b7f6e94e888315dbbb4ae6efeb49fd935a,0000000000000000000000000000000000000000..e0cebc6e8a172a5610fb0a6e740655fefdfbdb32
mode 100644,000000..100644
--- /dev/null
@@@ -1,23 -1,0 +1,24 @@@
-   if [ -d /z/$currdir ]; then
 +#!/bin/bash
 +
 +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
 +
 +synch_host="$1"; shift
 +if [ -z "$synch_host" ]; then
 +  echo This script requires a hostname where we expect to find archives.
 +  exit 1
 +fi
 +
 +echo "Updating our local archives from $synch_host: this is very raw mode, without syncthing!" | splitter
 +echo
 +
 +for currdir in basement imaginations musix toaster walrus; do
++  if [ -d "/z/$currdir" ]; then
 +    sep
 +    echo "synching $currdir folder from $synch_host..."
 +    rsync -avz "$synch_host":/z/$currdir/* /z/$currdir/
++    continue_on_error synching with $currdir from remote host.
 +  fi
 +done
 +
 +sep
 +