pimo-scripts/effects/Gotham.sh
2018-08-11 20:45:39 +02:00

2 lines
240 B
Bash
Executable file

#!/bin/bash
convert /home/elektroll/git/PiMo/cam.jpg -modulate 120,10,100 -fill '#222b6d' -colorize 20 -gamma 0.5 /home/elektroll/git/PiMo/DCIM/$(x="$(ls -v /home/elektroll/git/PiMo/DCIM/| tail -n 1 | sed 's/.jpg//g')"; echo $x+1 | bc).jpg