aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)"