various scripts I use to make my life easier

breaking excludes to seprate flags hope this works

Changed files
+12 -1
+12 -1
hourly-backup.sh
···
# !! WARNING SLOW FIRST RUN !!
# the first run will be slow so run this first before setting up the hourly job
-
rsync -aAX --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/usr/tmp/*","/run/*","/mnt/*","/media/*","/var/cache/*","/","/lost+found"} /* /mnt/backup/live/ --delete
+
rsync -aAX \
+
--exclude /dev/ \
+
--exclude /proc/ \
+
--exclude /sys/ \
+
--exclude /tmp/ \
+
--exclude /usr/tmp/ \
+
--exclude /run/ \
+
--exclude /mnt/ \
+
--exclude /media/ \
+
--exclude /var/cache/ \
+
--exclude lost+found/ \
+
/* /mnt/backup/live/ --delete