diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-12-21 01:06:18 +0200 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-12-21 01:06:18 +0200 |
commit | 85601f555a3a57db44631706a25e0f933afd8551 (patch) | |
tree | 576f7f7518ebd6f7d1b6f3534218c747d2a14a43 /files-ppmtopng.sh | |
parent | 88dd7e5fb0798d441dab81e9173d0e2d63f0b75e (diff) |
works with different connections
Diffstat (limited to 'files-ppmtopng.sh')
-rwxr-xr-x | files-ppmtopng.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/files-ppmtopng.sh b/files-ppmtopng.sh new file mode 100755 index 0000000..df33236 --- /dev/null +++ b/files-ppmtopng.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +cd ${0%/*} # go to project root +set -xe + +for i in files/file*.ppm +do + pnmtopng "$i" >> "${i%.*}.png" +done |