diff options
author | June McEnroe <programble@gmail.com> | 2017-08-04 23:22:48 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2017-08-04 23:22:48 -0400 |
commit | cd5b90752f7406bd4434beff300d61a6a7896437 (patch) | |
tree | 56ba266ca75032861a1c123e567c81643aa0ea8a /snapshot.sh | |
parent | Move in insert direction on ~ (diff) | |
download | torus-cd5b90752f7406bd4434beff300d61a6a7896437.tar.gz torus-cd5b90752f7406bd4434beff300d61a6a7896437.zip |
Use $() in snapshot.sh
I don't know why I wrote ``.
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" |