Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
|
3dbe3a68d0 |
2 changed files with 9 additions and 3 deletions
8
debian/changelog
vendored
8
debian/changelog
vendored
|
@ -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 <support@pogmom.me> Tue, 10 Dec 2024 15:09:01 -0800
|
||||||
|
|
||||||
|
sapphrc (1.3.2) unstable; urgency=medium
|
||||||
|
|
||||||
* bug fixes
|
* bug fixes
|
||||||
|
|
||||||
|
|
|
@ -12,11 +12,11 @@ sapphrc_rsync(){
|
||||||
case ${sync_direction} in
|
case ${sync_direction} in
|
||||||
backup)
|
backup)
|
||||||
echo "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)
|
restore)
|
||||||
echo "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"
|
echo "unknown sync direction"
|
||||||
|
|
Loading…
Add table
Reference in a new issue