Add header to csv

This commit is contained in:
2024-05-19 12:21:31 +00:00
parent 3461a76713
commit 1818b69a09

View File

@@ -3,6 +3,7 @@
# Script to extract Huawei watch steps from Apple Health full export
# into a csv file
echo '"Date","Steps"'
cat export.xml |
grep 'type="HKQuantityTypeIdentifierStepCount" sourceName="HUAWEI Health"' |
cut -d\" -f 14,16 |