Skip to content

Tag: tip

Creating a lot of thumbnails with Shell script

This script create a thumbnail with width 100 of each png file in the actual directory.

#!/bin/sh
for i in *.png
do
	echo "convert -thumbnail 100 $i $i"
	convert -thumbnail 100 $i $i
done