summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-08-26 19:32:55 -0400
committerJune McEnroe <june@causal.agency>2017-08-26 19:32:55 -0400
commite5184500830e04f3c9839d2dac62108fcb28133f (patch)
treecae5372589dea4b6a94d8aacb27bbd4cd14ee5d2
parentAdd meta.c to README (diff)
downloadtorus-e5184500830e04f3c9839d2dac62108fcb28133f.tar.gz
torus-e5184500830e04f3c9839d2dac62108fcb28133f.zip
Snapshot metadata
-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"