parallel/unittest/tests-to-run/test02.sh

14 lines
256 B
Bash
Raw Normal View History

2007-09-10 20:28:03 +00:00
#!/bin/bash
rm -rf tmp 2>/dev/null
cp -a input-files/testdir2 tmp
cd tmp
find . -name '*.jpg' | parallel -j +0 convert -geometry 120 {} {}_thumb.jpg
find . -name '*_thumb.jpg' | ren 's:/([^/]+)_thumb.jpg$:/thumb_$1:'
find |grep -v CVS
cd ..
rm -rf tmp