1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2025-02-05 14:12:38 -06:00

fix: Remove Signal configs (mostly cache) from backups

This commit is contained in:
Sayantan Santra 2025-01-21 13:01:15 -06:00
parent a43cbfcb8b
commit 2f47f8943f
Signed by: SinTan1729
GPG key ID: 0538DD402EA50898

View file

@ -54,7 +54,7 @@ echo $'\n'$(date) "| Done!" | tee -a "$LGDIR/TempStorage/impfilesbk.log"
echo "--------------------------------------------------" | tee -a "$LGDIR/TempStorage/impfilesbk.log" echo "--------------------------------------------------" | tee -a "$LGDIR/TempStorage/impfilesbk.log"
echo $(date) "| Backing up some dotfiles..." | tee -a "$LGDIR/TempStorage/impfilesbk.log" echo $(date) "| Backing up some dotfiles..." | tee -a "$LGDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats --quiet --no-links --exclude={'*cache*','*Cache*','*autosave*','chromium','Code','Code - OSS','discord','vivaldi','Ferdium/Partitions'} \ rsync -aAXH --delete --stats --quiet --no-links --exclude={'*cache*','*Cache*','*autosave*','Signal','chromium','Code','Code - OSS','discord','vivaldi','Ferdium/Partitions'} \
--delete-excluded "$HMDIR/.config/" "$BKDIR_HDD/dotfiles/[dot]config/" | tee -a "$LGDIR/TempStorage/impfilesbk.log" --delete-excluded "$HMDIR/.config/" "$BKDIR_HDD/dotfiles/[dot]config/" | tee -a "$LGDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats "$HMDIR/.profile" "$BKDIR_HDD/dotfiles/[dot]profile" | tee -a "$LGDIR/TempStorage/impfilesbk.log" rsync -aAXH --delete --stats "$HMDIR/.profile" "$BKDIR_HDD/dotfiles/[dot]profile" | tee -a "$LGDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats "$HMDIR/.bashrc" "$BKDIR_HDD/dotfiles/[dot]bashrc" | tee -a "$LGDIR/TempStorage/impfilesbk.log" rsync -aAXH --delete --stats "$HMDIR/.bashrc" "$BKDIR_HDD/dotfiles/[dot]bashrc" | tee -a "$LGDIR/TempStorage/impfilesbk.log"