aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason2024-07-17 23:20:04 -0600
committerjason2024-07-17 23:20:41 -0600
commitd9e94f269a90256b9cf96090c0bcba9086d06f3e (patch)
tree465c25ab53d16a7e9e8a3598ac8923c04058231b
parentffc2159dab43e2a6a7c327b8272b64823289a706 (diff)
downloaddotfiles-d9e94f269a90256b9cf96090c0bcba9086d06f3e.tar.gz
dotfiles-d9e94f269a90256b9cf96090c0bcba9086d06f3e.zip
add poor man sync time
-rwxr-xr-xscripts/bin/poor_mans_sync_time4
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
3sudo echo 'Syncing Time...'
4sudo date -s "$(curl -Ssv google.com 2>&1 | grep Date: | cut -d' ' -f3-8)"