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