Script to record my power consumption
This commit is contained in:
parent
c693226c6a
commit
e7351a6d50
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…
Reference in New Issue
Block a user