new script to find the latest files in a folder
[feisty_meow.git] / scripts / customize / fred / scripts / jobby / onedrive_backerer.sh
diff --git a/scripts/customize/fred/scripts/jobby/onedrive_backerer.sh b/scripts/customize/fred/scripts/jobby/onedrive_backerer.sh
new file mode 100644 (file)
index 0000000..1adfa9b
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+# backs up the uva onedrive folder (which itself is fed from the cloud).
+
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+
+pushd ~/data
+exit_on_error changing to data folder.
+
+zip -r ~/onedrive_backup_uva_$(date_stringer).zip onedrive-uva-live -x \*.ova -x \*.webarchive 
+exit_on_error zipping up the uva onedrive folder.
+
+
+popd
+
+