1
0
Fork 0
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:
Sayantan Santra 2025-01-20 00:54:01 -06:00
parent 9e51f8352f
commit 74170f0438
Signed by: SinTan1729
GPG key ID: 0538DD402EA50898

View file

@ -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"