b43096562065a39730ddf5f800ca7cc0e7e99a02
[feisty_meow.git] / scripts / customize / fred / scripts / jobby / compare_clambook_dirs.sh
1 #!/bin/bash
2
3 # a little helper script for clambook,
4 # which is uva's mac and which doesn't share syncthing.
5 # we can easily see what stuff got accidentally put on
6 # the /z folders with this, and make sure anything new
7 # actually gets back to the true sources of these files.
8
9 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
10
11 DATA_SOURCE_HOST="curie"
12
13 function compare_to_curie()
14 {
15   dir="$1"; shift
16   s
17   echo
18   echo "comparing $dir"
19   echo
20   compare_dirs "/z/$dir" "fred@${DATA_SOURCE_HOST}:/z/$dir"
21   retval=$?
22   s
23   echo
24   return $retval
25 }
26
27 compare_to_curie basement
28 compare_to_curie musix
29 compare_to_curie walrus
30
31