Generic update.

This commit is contained in:
Crony Akatsuki 2023-02-22 19:17:52 +01:00
parent de255e55d7
commit 868fbb687b
5 changed files with 107 additions and 3 deletions

View file

@ -26,7 +26,7 @@ printf '%s\n' "$password" | sudo -S mount /dev/mapper/luks /mnt/encrypted
while read Line; do
echo "Syncing $(basename $Line)"
rsync -ahAX -v --delete "$Line" $HOME/.local/backup
rsync -ahAX -v --delete "$Line" /mnt/encrypted
done <<< "$(cat $HOME/.config/rsync/backup-list)"
printf '\n%s\n\n' "Unmounting encrypted drive"