#!/bin/sh
mkdir work
mv *tga work
cd work
for f in *tga; do echo convert $f to ../`basename $f .tga`.png; nice tgatoppm $f | pnmtopng - > ../`basename $f .tga`.png; echo done; done
rm *tga
cd ..
rmdir work
