diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-08-09 11:19:23 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-08-09 11:19:23 +0300 |
commit | b91c09a43b3191d719781fe717fc6d28fec58029 (patch) | |
tree | 6355cc29f8fb9569e2d407d63b4fcc35cf83d2b8 /ppmtopng.sh | |
parent | a68cc52b5c5d1c104de8d675b90816aaa39f4ace (diff) |
works
Diffstat (limited to 'ppmtopng.sh')
-rwxr-xr-x | ppmtopng.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ppmtopng.sh b/ppmtopng.sh new file mode 100755 index 0000000..e415a5f --- /dev/null +++ b/ppmtopng.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +set -xe + +for i in files/file*.ppm +do + pnmtopng "$i" >> "${i%.*}.png" +done |