Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] Avoid remote deletion #18

Open
Busyvar opened this issue Jul 5, 2015 · 1 comment
Open

[enhancement] Avoid remote deletion #18

Busyvar opened this issue Jul 5, 2015 · 1 comment

Comments

@Busyvar
Copy link

Busyvar commented Jul 5, 2015

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.

@Busyvar Busyvar changed the title [enhancement] no deletion on server [enhancement] Avoid remote deletion Jul 6, 2015
@dooblem
Copy link
Owner

dooblem commented Feb 18, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants