mirror of
https://github.com/luzifer-docker/phantom-firemap.git
synced 2024-12-20 12:51:18 +00:00
Remove date from filename
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
429744aedf
commit
56e1f3fcd5
1 changed files with 1 additions and 1 deletions
2
run.sh
2
run.sh
|
@ -6,7 +6,7 @@ H=1241 # 150 x 8.27
|
||||||
|
|
||||||
/usr/bin/phantomjs /src/index.js $1 $2 $3
|
/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
|
mv /data/shot.png /data/${TARGET}.png
|
||||||
|
|
||||||
exec convert /data/${TARGET}.png -compress jpeg -quality 90 \
|
exec convert /data/${TARGET}.png -compress jpeg -quality 90 \
|
||||||
|
|
Loading…
Reference in a new issue