mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-25 20:58:37 -06:00
Include .git directories
This commit is contained in:
parent
1b3a632171
commit
c8fe7ba583
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ HMDIR="/home/sintan"
|
|||
BKDIR="/mnt/storage/sintan"
|
||||
|
||||
echo `date` "| Backing up Documents..." | tee -a "$HMDIR/TempStorage/impfilesbk.log"
|
||||
rsync -aAXH --delete --stats -f '- *.git/' -f '- *Rust/*/target/' "$HMDIR/Documents/" "$BKDIR/Documents/" | tee -a "$HMDIR/TempStorage/impfilesbk.log"
|
||||
rsync -aAXH --delete --stats --exclude '*Rust/*/target/' "$HMDIR/Documents/" "$BKDIR/Documents/" | tee -a "$HMDIR/TempStorage/impfilesbk.log"
|
||||
echo $'\n'`date` "| Done!" | tee -a "$HMDIR/TempStorage/impfilesbk.log"
|
||||
|
||||
echo "--------------------------------------------------" | tee -a "$HMDIR/TempStorage/impfilesbk.log"
|
||||
|
|
Loading…
Reference in a new issue