d48937379c22d088f43e50b8da31bf549d9870e8
[feisty_meow.git] / scripts / customize / fred / scripts / archival / compare_soapbox.sh
1 #!/bin/bash
2
3 # compares the soapbox with the real archive to see if any older stuff might be
4 # left behind.  if it's got a less than in front, then it's only on the soapbox drive
5 # now rather than the pc's hard drive.
6
7 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
8
9 function compare_archives_with_target()
10 {
11   local target="$1"; shift
12
13   for currdir in $MAJOR_ARCHIVE_SOURCES; do
14     sep
15     echo "comparing '$currdir' with target '$target', where 'less thans' are on the target..."
16     compare_dirs "$target/$(basename $currdir)" "$currdir"
17   done
18 }
19
20 #hmmm: generalize this one also.
21
22 compare_archives_with_target /media/fred/soapboxdrive
23
24 sep
25