4 ms·
Even shorter, avoiding the echo sed business: find images -name '*.jpg' | while read jpg; do convert -geometry 200x "$jpg" "${jpg%%.jpg}_thumb.jpg";
by mkl 14y ago
Even shorter, avoiding the echo sed business:
find images -name '*.jpg' | while read jpg; do
convert -geometry 200x "$jpg" "${jpg%%.jpg}_thumb.jpg";
done