From b28dee81d7c67b8e3da230b9792682124c6009ba Mon Sep 17 00:00:00 2001 From: Mike Powell Date: Thu, 9 Aug 2018 08:57:49 +0200 Subject: [PATCH] =?UTF-8?q?'effects/Vignette-1.sh'=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- effects/Vignette-1.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/effects/Vignette-1.sh b/effects/Vignette-1.sh index b199215..8cb4b0e 100755 --- a/effects/Vignette-1.sh +++ b/effects/Vignette-1.sh @@ -1,2 +1,3 @@ #!/bin/bash -composite -gravity center -resize 3908x2602 grad_vignette_1.png /home/pi/cam.jpg /home/pi/DCIM/$(x="$(ls -v /home/pi/DCIM/| tail -n 1 | sed 's/.jpg//g')"; echo $x+1 | bc).jpg +composite -gravity center -resize 3908x2602 grad_vignette_1.png /home/pi/cam.jpg /home/pi/DCIM/$(x="$(ls -v /home/pi/DCIM/| tail -n 1 | sed 's/.jpg//g')"; echo $x | awk '{printf $1 + 1}').jpg +