1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-25 20:58:37 -06:00
random/impfilesbk
2021-12-02 13:32:27 -06:00

21 lines
680 B
Bash

#!/bin/bash
# This script backs up some important stuff
echo `date` "| Backing up Documents..." | tee -a logfile
rsync -aAXH --delete --stats src dest | tee -a logfile
echo $'\n'`date` "| Done!" | tee -a logfile
echo "----------" | tee -a logfile
echo `date` "| Backing up Academics..." | tee -a logfile
rsync -aAXH --delete --stats src dest | tee -a logfile
echo $'\n'`date` "| Done!" | tee -a logfile
echo "----------" | tee -a logfile
echo `date` "| Backing up Pictures..." | tee -a logfile
rsync -aAXH --delete --stats src dest | tee -a logfile
echo $'\n'`date` "| Done!" | tee -a logfile
echo $'\n'"--------------------------------------------------" | tee -a logfile