From cd5b90752f7406bd4434beff300d61a6a7896437 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 4 Aug 2017 23:22:48 -0400 Subject: Use $() in snapshot.sh I don't know why I wrote ``. --- snapshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit 1.4.1