credmp / hed

Hosts EDitor, it will add/update/delete host entries for you
https://www.arjenwiersma.nl
GNU General Public License v3.0
13 stars 3 forks source link

feature request: backup/restore #26

Open amkuipers opened 3 years ago

amkuipers commented 3 years ago

Request to add a feature to be able to backup and restore the hosts file using hed.

Examples:

$ hed backup
backup /etc/hosts made to ~/hosts.bak
$ hed restore
restored /etc/hosts from ~/hosts.bak

$ hed backup /tmp/x
backup /etc/hosts made to /tmp/x
$ hed restore /tmp/x
restored /etc/hosts from /tmp/x
credmp commented 2 years ago

Really good feature, wondering if it can work together with #25.