add thumbnail script

This commit is contained in:
luxick
2017-11-29 18:25:44 +01:00
parent d6b9c8bb17
commit b6d30d6c3a
2 changed files with 10 additions and 3 deletions

7
make_thumbs.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
FILES="$@"
for i in $FILES
do
echo "Prcoessing image $i ..."
/usr/bin/convert -thumbnail 200 $i "${i%.JPG}-thumb.JPG"
done