プロジェクトtzupdate |
概要
IPアドレスの位置情報に基づいてシステムのタイムゾーンを設定します。
開発ツールできること
- Small, easy to understand codebase
- Queries multiple geolocation services in parallel and returns the first with a successful result
- Protects against directory traversal and invalid results when linking /etc/localtime
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルtzupdate | 
tzupdate is a fully automated utility to set the system time using geolocation.
Features
- Small, easy to understand codebase
- Queries multiple geolocation services in parallel and returns the first with a successful result
- Protects against directory traversal and invalid results when linking /etc/localtime
Installation
cargo install tzupdate
Usage
# tzupdate
Set system timezone to Europe/London.
Internally, this geolocates you, gets the timezone for that geolocation, and then updates the system's local time zone.
You can see what tzupdate would do without actually doing it by passing -p,
and specify an alternative IP address by using -i. This is not an exhaustive
list of options, see tzupdate --help for that.
関連プロジェクトを探す
読み込み中…