From b91c09a43b3191d719781fe717fc6d28fec58029 Mon Sep 17 00:00:00 2001 From: kartofen Date: Tue, 9 Aug 2022 11:19:23 +0300 Subject: works --- ppmtopng.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 ppmtopng.sh (limited to 'ppmtopng.sh') 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 -- cgit v1.2.3