diff options
| author | jason | 2024-07-17 23:20:04 -0600 |
|---|---|---|
| committer | jason | 2024-07-17 23:20:41 -0600 |
| commit | d9e94f269a90256b9cf96090c0bcba9086d06f3e (patch) | |
| tree | 465c25ab53d16a7e9e8a3598ac8923c04058231b | |
| parent | ffc2159dab43e2a6a7c327b8272b64823289a706 (diff) | |
| download | dotfiles-d9e94f269a90256b9cf96090c0bcba9086d06f3e.tar.gz dotfiles-d9e94f269a90256b9cf96090c0bcba9086d06f3e.zip | |
add poor man sync time
| -rwxr-xr-x | scripts/bin/poor_mans_sync_time | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bin/poor_mans_sync_time b/scripts/bin/poor_mans_sync_time new file mode 100755 index 0000000..1dba44d --- /dev/null +++ b/scripts/bin/poor_mans_sync_time | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | sudo echo 'Syncing Time...' | ||
| 4 | sudo date -s "$(curl -Ssv google.com 2>&1 | grep Date: | cut -d' ' -f3-8)" | ||