mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-25 20:58:37 -06:00
16 lines
416 B
Text
16 lines
416 B
Text
|
#!/bin/bash
|
||
|
|
||
|
# This is to backup some important stuff
|
||
|
|
||
|
echo `date` "| Backing up Documents..." | tee -a logfile
|
||
|
rsync -aAXH --delete source dest
|
||
|
echo "Done!" | tee -a logfile
|
||
|
|
||
|
echo `date` "| Backing up Academics..." | tee -a logfile
|
||
|
rsync -aAXH --delete source dest
|
||
|
echo "Done!" | tee -a logfile
|
||
|
|
||
|
echo `date` "| Backing up Pictures..." | tee -a logfile
|
||
|
rsync -aAXH --delete source dest
|
||
|
echo "Done!" | tee -a logfile
|