Generic update.
This commit is contained in:
parent
de255e55d7
commit
868fbb687b
5 changed files with 107 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue