diff options
author | June McEnroe <june@causal.agency> | 2017-08-26 19:32:55 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2017-08-26 19:32:55 -0400 |
commit | e5184500830e04f3c9839d2dac62108fcb28133f (patch) | |
tree | cae5372589dea4b6a94d8aacb27bbd4cd14ee5d2 | |
parent | Add meta.c to README (diff) | |
download | torus-e5184500830e04f3c9839d2dac62108fcb28133f.tar.gz torus-e5184500830e04f3c9839d2dac62108fcb28133f.zip |
Snapshot metadata
-rwxr-xr-x | snapshot.sh | 1 |
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" |