diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-06-19 10:56:34 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-06-19 10:56:34 +0800 |
commit | 74961e18f5807d498327f925c53e586d8e3d86f1 (patch) | |
tree | 26ce4e190faeef24008bedffa35998619ad77099 /bin/init | |
parent | b62a48c0e846e108f43e8572587c1d823c5af04a (diff) |
Update
Diffstat (limited to 'bin/init')
-rwxr-xr-x | bin/init/sync.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/init/sync.sh b/bin/init/sync.sh index 413256a..a4c7542 100755 --- a/bin/init/sync.sh +++ b/bin/init/sync.sh | |||
@@ -4,8 +4,8 @@ | |||
4 | pidof git >/dev/null && exit 0 | 4 | pidof git >/dev/null && exit 0 |
5 | 5 | ||
6 | # Print information about ~/.wakeup | 6 | # Print information about ~/.wakeup |
7 | echo 'latest: ' $(date -d @`stat -c %Y ~/.wakeup` --iso-8601=minutes) | 7 | echo 'latest: ' $(date -d @`stat -c %Y ~/.wakeup` --iso-8601=seconds) |
8 | echo 'wakeup at: ' $(cat ~/.wakeup | xargs -i date -d @{} --iso-8601=minutes) | 8 | echo 'wakeup at: ' $(cat ~/.wakeup | xargs -i date -d @{} --iso-8601=seconds) |
9 | 9 | ||
10 | # Sync a repo | 10 | # Sync a repo |
11 | sync() { | 11 | sync() { |