3 lines
176 B
Bash
Executable file
3 lines
176 B
Bash
Executable file
#!/bin/bash
|
|
convert /home/pi/cam.jpg -channel R -level 33% -channel G -level 33% /home/pi/DCIM/$(x="$(ls -v /home/pi/DCIM/| tail -n 1 | sed 's/.jpg//g')"; echo $x+1 | bc).jpg
|
|
|