- commit
- 1b285ab1b8f9333b43dd6bee465784dad6bcbba0
- parent
- 79a8a73df347e43c13bdd745e15fb311c4875182
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2014-04-19 16:50
add timelog
Diffstat
| A | timelog | 12 | ++++++++++++ |
1 files changed, 12 insertions, 0 deletions
diff --git a/timelog b/timelog
@@ -0,0 +1,12 @@ -1 1 #!/bin/sh -1 2 -1 3 mkdir -p ~/.gtimelog -1 4 -1 5 t=`date '+%F %H:%M'` -1 6 -1 7 if [ x"$1" = x"arrive" ]; then -1 8 echo >> ~/.gtimelog/timelog.txt -1 9 echo "$t: arrive **" >> ~/.gtimelog/timelog.txt -1 10 else -1 11 echo "$t: $@" >> ~/.gtimelog/timelog.txt -1 12 fi