# updates my little 1 TB "soapbox" style usb drive with items that it should contain.
-function liney()
-{
- echo
- echo ==============
- echo
-}
-
function get_source()
{
folder="$1"; shift
popd
}
-liney
-
-liney
+sep
ls /media/fred/soapboxdrive
if [ $? -ne 0 ]; then
exit 1
fi
-liney
+sep
echo synching walrus...
rsync -av /z/walrus/* /media/fred/soapboxdrive/walrus/
exit 1
fi
-liney
+sep
echo synching musix...
rsync -av /z/musix/* /media/fred/soapboxdrive/musix/
exit 1
fi
-liney
+sep
echo getting latest fred codes...
pushd /media/fred/soapboxdrive
get_source extra_brain
-liney
+sep
echo getting latest gffs codes...
get_source gffs
popd
-liney
+sep
echo Updated all portions of the soapbox drive successfully.