mirror of
https://github.com/SinTan1729/random.git
synced 2025-02-05 06:02:36 -06:00
fix: Also backup DCIM
This commit is contained in:
parent
9e51f8352f
commit
74170f0438
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ echo "--------------------------------------------------" | tee -a "$BKDIR/TempS
|
|||
|
||||
echo $(date) "| Backing up Pictures..." | tee -a "$BKDIR/TempStorage/impfilesbk.log"
|
||||
rsync -aAXH --delete --stats --prune-empty-dirs -f '- /*/*/' "$HMDIR/Pictures/" "$BKDIR/Pictures/" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
|
||||
rsync -aAXH --delete --stats --prune-empty-dirs -f '- /*/*/' "$HMDIR/TempStorage/DCIM/" "$BKDIR/TempStorage/DCIM/" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
|
||||
echo $'\n'$(date) "| Done!" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
|
||||
|
||||
echo "--------------------------------------------------" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
|
||||
|
|
Loading…
Reference in a new issue