No Description https://ascii.town
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

snapshot.sh 177B

123456
  1. #!/bin/sh
  2. set -e -u
  3. ts=$(date +'%Y.%m.%d.%H.%M')
  4. gzip -c -9 < "$1/torus.dat" > "$2/torus.dat.$ts.gz"
  5. $(dirname "$0")/meta < "$1/torus.dat" | gzip -c -9 > "$2/torus.csv.$ts.gz"