pshosts icon indicating copy to clipboard operation
pshosts copied to clipboard

Feature Request: -Backup

Open NickCraver opened this issue 8 years ago • 2 comments

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.

NickCraver avatar May 23 '17 14:05 NickCraver

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)?

richardszalay avatar Jul 02 '17 10:07 richardszalay