about summary refs log tree commit diff homepage
path: root/snapshot.sh
blob: 2f154981d12aa164ea6fdd0d8c761e815dcab30f (plain) (blame)
1
2
3
4
5
#!/bin/sh
set -e -u

ts=`date +'%Y.%m.%d.%H.%M'`
gzip -c -9 < "$1/torus.dat" > "$2/torus.dat.$ts.gz"