3 # updates my little 1 TB "soapbox" style usb drive with items that it should contain.
5 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
6 source "$FEISTY_MEOW_SCRIPTS/archival/shared_updater_parts.sh"
8 # where we're backing up to.
9 TARGET_FOLDER="/media/fred/soapboxdrive"
13 echo Target drive currently has...
16 echo "The target location '$TARGET_FOLDER' is not mounted currently, so cannot be updated."
20 # synch all our targets.
21 for currdir in $ARCHIVE_COLLECTIONS_LIST; do
22 synch_directory_to_target "$currdir" "$TARGET_FOLDER/$(basename $currdir)"/
27 # update source code if present.
28 echo getting latest fred repositories...
29 pushd "$TARGET_FOLDER"
30 update_source_folders extra_brain
34 echo Updated all expected portions of the targets successfully.