X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=blobdiff_plain;f=scripts%2Fcustomize%2Ffred%2Fscripts%2Fjobby%2Fcompare_clambook_dirs.sh;fp=scripts%2Fcustomize%2Ffred%2Fscripts%2Fjobby%2Fcompare_clambook_dirs.sh;h=edf2ba0759e2e12651abb781bf8ee0265c81473d;hp=0000000000000000000000000000000000000000;hb=de0da7f2f7958d4ba652ff2ef5c79991700141ac;hpb=a4c99c6006b3aa20b5f65f02c2d30db7e790083a diff --git a/scripts/customize/fred/scripts/jobby/compare_clambook_dirs.sh b/scripts/customize/fred/scripts/jobby/compare_clambook_dirs.sh new file mode 100644 index 00000000..edf2ba07 --- /dev/null +++ b/scripts/customize/fred/scripts/jobby/compare_clambook_dirs.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +# a little helper script for clambook, +# which is uva's mac and which doesn't share syncthing. +# we can easily see what stuff got accidentally put on +# the /z folders with this, and make sure anything new +# actually gets back to the true sources of these files. + +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" + +DATA_SOURCE_HOST="curie" + +function compare_to_curie() +{ + dir="$1"; shift + s + echo + echo "comparing $dir" + echo + echo "'<' will be remote, '>' will be local." + echo + compare_dirs "fred@${DATA_SOURCE_HOST}:/z/$dir" "/z/$dir" + retval=$? + s + echo + return $retval +} + +compare_to_curie musix +compare_to_curie walrus + +