From 56e1f3fcd51e615d6975cc42805042a146012f19 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 11 Jun 2017 20:30:35 +0200 Subject: [PATCH] Remove date from filename Signed-off-by: Knut Ahlers --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 8065a65..a89108b 100755 --- a/run.sh +++ b/run.sh @@ -6,7 +6,7 @@ H=1241 # 150 x 8.27 /usr/bin/phantomjs /src/index.js $1 $2 $3 -TARGET="$4_$(date +%Y-%m-%d_%H-%M)" +TARGET="$4" mv /data/shot.png /data/${TARGET}.png exec convert /data/${TARGET}.png -compress jpeg -quality 90 \