From: Chris Koeritz Date: Thu, 2 Jun 2022 12:51:46 +0000 (-0400) Subject: new script for work computer cleanup X-Git-Tag: 2.140.136^2~47 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=7c55054dfb0833d9b75dde9e4d057dd209137427 new script for work computer cleanup --- 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..b4309656 --- /dev/null +++ b/scripts/customize/fred/scripts/jobby/compare_clambook_dirs.sh @@ -0,0 +1,31 @@ +#!/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 + compare_dirs "/z/$dir" "fred@${DATA_SOURCE_HOST}:/z/$dir" + retval=$? + s + echo + return $retval +} + +compare_to_curie basement +compare_to_curie musix +compare_to_curie walrus + +