random/impfilesbk

14 lines
418 B
Text
Raw Normal View History

2021-12-28 02:54:26 -06:00
#!/bin/sh
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
2021-12-26 23:28:22 -06:00
# Do as many times as needed with dest, src, logfile etc replaced with proper locations
2021-12-17 22:09:50 -06:00
2021-12-02 13:32:27 -06:00
echo $'\n'"--------------------------------------------------" | tee -a logfile