about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-08-26 19:32:55 -0400
committerJune McEnroe <programble@gmail.com>2017-08-26 19:32:55 -0400
commit49c49d4646aba28e1b92681af2e7f476607f5c7b (patch)
treed8a5d04a2694e22b8160fc9d554f22365b951908
parentAdd meta.c to README (diff)
downloadtorus-49c49d4646aba28e1b92681af2e7f476607f5c7b.tar.gz
torus-49c49d4646aba28e1b92681af2e7f476607f5c7b.zip
Snapshot metadata
Diffstat (limited to '')
-rwxr-xr-xsnapshot.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/snapshot.sh b/snapshot.sh
index 536e289..6dc44fb 100755
--- a/snapshot.sh
+++ b/snapshot.sh
@@ -3,3 +3,4 @@ set -e -u
 
 ts=$(date +'%Y.%m.%d.%H.%M')
 gzip -c -9 < "$1/torus.dat" > "$2/torus.dat.$ts.gz"
+$(dirname "$0")/meta < "$1/torus.dat" | gzip -c -9 > "$2/torus.csv.$ts.gz"