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

Feature Request: -Backup #5

Open
NickCraver opened this issue May 23, 2017 · 1 comment
Open

Feature Request: -Backup #5

NickCraver opened this issue May 23, 2017 · 1 comment

Comments

@NickCraver
Copy link

Can we add a -Backup flag (or maybe it takes a path)? e.g. hosts.bak is created before write operations? This would act as a nice failsafe when anything goes wrong.

@richardszalay
Copy link
Owner

richardszalay commented Jul 2, 2017

As an alternative, what if write fails were caught and the contents were instead saved to a temp file (the location of which was included in the error message)?

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

No branches or pull requests

2 participants