This commit is contained in:
Niels G. W. Serup 2016-08-25 11:13:15 +02:00
parent 4b6321aecd
commit 78c2c2136f
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ cd thumbnails
for x in *; do
large=$x
small=../thumbnails-small/$x
if [ $large -nt $small ]; then
if ! [ -f $small ] || [ $large -nt $small ]; then
convert $x -resize x"$thumbnail_height" $small
fi
done