diff options
author | June McEnroe <programble@gmail.com> | 2017-08-26 19:32:55 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2017-08-26 19:32:55 -0400 |
commit | 49c49d4646aba28e1b92681af2e7f476607f5c7b (patch) | |
tree | d8a5d04a2694e22b8160fc9d554f22365b951908 | |
parent | Add meta.c to README (diff) | |
download | torus-49c49d4646aba28e1b92681af2e7f476607f5c7b.tar.gz torus-49c49d4646aba28e1b92681af2e7f476607f5c7b.zip |
Snapshot metadata
Diffstat (limited to '')
-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" |