bsync
bsync copied to clipboard
[enhancement] Avoid remote deletion
Rsync doesn't delete removed file by default in the second destination, so why bsync can't do it? When you remove unused files on your laptop that could be fine if there is always a copy on the server.
desired behavior: If a flag is set (ex: -k for "keep"), removed files are wrote in .bsync-ignore & withdrawn from .bsync-snap-*. You can retrieve later local removed files by deleting them from .bsync-ignore.
Sorry for the late answer.
unlike rsync, bsync is bidirectionnal, so it's normal if deleted files on one side are deleted on the other side.
We may add a flag like --no-delete to prevent any accidental file deletion.