Script to record my power consumption
This commit is contained in:
parent
c693226c6a
commit
e7351a6d50
1 changed files with 4 additions and 0 deletions
4
local/bin/meterstand
Executable file
4
local/bin/meterstand
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
FILE=/data/documents/verpleegsterstraat-249/meterstanden.csv
|
||||
sed -i '${p;s/.*,/'"$(date --iso)"',/}' "$FILE"
|
||||
"$EDITOR" "$FILE"
|
Loading…
Add table
Add a link
Reference in a new issue