Created
December 29, 2018 03:02
-
-
Save phobal/b589b019e47e672fbb5b74665d96229e to your computer and use it in GitHub Desktop.
free use sketch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| date 0102030405 | |
| # open /Applications/Sketch.app | |
| open /Applications/Sketch.app | |
| # open ~/Downloads/Sketch.app | |
| ntpdate -u time.apple.com | |
| # how to use | |
| # 1. copy this file to anywhere in your macbook | |
| # 2. chmod +x ./sketch.sh | |
| # 3. sudo ./sketch.sh |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the latest macOS version (Mojave 10.14 Beta) the ntpdate tool has been removed.
please use
sntp -sS time.apple.cominstead ofntpdate -u time.apple.comhttps://apple.stackexchange.com/questions/329222/the-ntpdate-command-was-removed-from-mojave-what-to-use-now?noredirect=1