diff options
Diffstat (limited to '')
-rwxr-xr-x | snapshot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/snapshot.sh b/snapshot.sh index 2f15498..536e289 100755 --- a/snapshot.sh +++ b/snapshot.sh @@ -1,5 +1,5 @@ #!/bin/sh set -e -u -ts=`date +'%Y.%m.%d.%H.%M'` +ts=$(date +'%Y.%m.%d.%H.%M') gzip -c -9 < "$1/torus.dat" > "$2/torus.dat.$ts.gz" |