aboutsummaryrefslogtreecommitdiff
path: root/ppmtopng.sh
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-08-09 11:19:23 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-08-09 11:19:23 +0300
commitb91c09a43b3191d719781fe717fc6d28fec58029 (patch)
tree6355cc29f8fb9569e2d407d63b4fcc35cf83d2b8 /ppmtopng.sh
parenta68cc52b5c5d1c104de8d675b90816aaa39f4ace (diff)
works
Diffstat (limited to 'ppmtopng.sh')
-rwxr-xr-xppmtopng.sh8
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