Skip to content

zhaiduo/syncMacHosts

Repository files navigation

Sync-Mac-Hosts v0.1.1

Synchronize IP for domain in Mac hosts. 同步 Mac hosts 文件。

./run.sh zhaiduo.com
#Append or replace the host ip to /private/etc/hosts

How to use?

npm install casperjs --save chmod 755 *.sh ./run.sh yourdomain.com