From de4b779c4afa04583b5485873307818bf260a226 Mon Sep 17 00:00:00 2001 From: Mike Powell Date: Thu, 9 Aug 2018 08:58:01 +0200 Subject: [PATCH] =?UTF-8?q?'effects/Vignette-2.sh'=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- effects/Vignette-2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/Vignette-2.sh b/effects/Vignette-2.sh index f61ca39..2c99787 100755 --- a/effects/Vignette-2.sh +++ b/effects/Vignette-2.sh @@ -1,2 +1,2 @@ #!/bin/bash -composite -gravity center -resize 3908x2602 grad_vignette_2.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 \ No newline at end of file +composite -gravity center -resize 3908x2602 grad_vignette_2.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