Convert all eps files into jpeg copies in current directory and lower.
#!/usr/bin/bash
for f in $(find -type f -iname '*.eps')
do
dest=`echo ${f%.*}`
echo "${f} to ${dest}.jpg"
convert "${f}" "${dest}.jpg"
done
Tags: bash, convert, image
Filed under bash, linux.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.