diff options
author | June McEnroe <june@causal.agency> | 2017-08-04 23:22:48 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2017-08-04 23:22:48 -0400 |
commit | 20fd08dd6d8bc6b35dc135ab63f8fbe56218a771 (patch) | |
tree | 84de01d7fa829c6954e8e01165e5874488dee407 | |
parent | Move in insert direction on ~ (diff) | |
download | torus-20fd08dd6d8bc6b35dc135ab63f8fbe56218a771.tar.gz torus-20fd08dd6d8bc6b35dc135ab63f8fbe56218a771.zip |
Use $() in snapshot.sh
I don't know why I wrote ``.
-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" |