From 3dbe3a68d036afc1cecca6196e88978c320cabe3 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Tue, 10 Dec 2024 15:10:14 -0800 Subject: [PATCH] 1.3.3 --- debian/changelog | 8 +++++++- lib/sapphrc/sapphrc-sync | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 46b6f99..e9ff160 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,10 @@ -sapphrc (1.3.2) UNRELEASED; urgency=medium +sapphrc (1.3.3) unstable; urgency=medium + + * synchronization now deletes files. be careful! + + -- Penelope Gwen Tue, 10 Dec 2024 15:09:01 -0800 + +sapphrc (1.3.2) unstable; urgency=medium * bug fixes diff --git a/lib/sapphrc/sapphrc-sync b/lib/sapphrc/sapphrc-sync index 29a0059..08d88c4 100644 --- a/lib/sapphrc/sapphrc-sync +++ b/lib/sapphrc/sapphrc-sync @@ -12,11 +12,11 @@ sapphrc_rsync(){ case ${sync_direction} in backup) echo "backup" - rsync -arvSH --files-from="${include_list}" --exclude-from="${exclude_list}" --exclude '.config/sapphrc/' "${HOME}" "${backup_homedir}" + rsync -arvSH --files-from="${include_list}" --exclude-from="${exclude_list}" --exclude '.config/sapphrc/' "${HOME}" "${backup_homedir}" --delete ;; restore) echo "restore" - rsync -arvSH --files-from="${include_list}" --exclude-from="${exclude_list}" --exclude '.config/sapphrc/' "${backup_homedir}" "${HOME}" + rsync -arvSH --files-from="${include_list}" --exclude-from="${exclude_list}" --exclude '.config/sapphrc/' "${backup_homedir}" "${HOME}" --delete ;; *) echo "unknown sync direction"