1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-26 21:18:36 -06:00
random/impfilesbk

22 lines
680 B
Text
Raw Normal View History

#!/bin/bash
2021-12-02 13:32:27 -06:00
# This script backs up some important stuff
echo `date` "| Backing up Documents..." | tee -a logfile
2021-12-02 13:32:27 -06:00
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
2021-12-02 13:32:27 -06:00
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
2021-12-02 13:32:27 -06:00
rsync -aAXH --delete --stats src dest | tee -a logfile
echo $'\n'`date` "| Done!" | tee -a logfile
echo $'\n'"--------------------------------------------------" | tee -a logfile