This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INDEX_RESIZE=0 | |
for file in ./*.jpg; do | |
[ -e "$file" ] || continue | |
convert $file -resize 1000x1000^ $file | |
let INDEX_RESIZE=$(expr $INDEX_RESIZE+1) | |
done | |
INDEX_THUMBNAIL=0 | |
for file in ./*.jpg; do | |
[ -e "$file" ] || continue |