Logic.
This commit is contained in:
parent
4b6321aecd
commit
78c2c2136f
|
@ -14,7 +14,7 @@ cd thumbnails
|
||||||
for x in *; do
|
for x in *; do
|
||||||
large=$x
|
large=$x
|
||||||
small=../thumbnails-small/$x
|
small=../thumbnails-small/$x
|
||||||
if [ $large -nt $small ]; then
|
if ! [ -f $small ] || [ $large -nt $small ]; then
|
||||||
convert $x -resize x"$thumbnail_height" $small
|
convert $x -resize x"$thumbnail_height" $small
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue