X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=photo-tags.git;a=blobdiff_plain;f=create_thumbnails.sh;h=6bae6bbdc01836cc09518d9b85407ad58f25ba60;hp=61745386e441d6e4c2c9047388be5776c6cd6877;hb=8c294704502f0abfb554baec7d372a9bf6a0f6c6;hpb=36bcd32844666ba84b2947387ce195c25d87fadd diff --git a/create_thumbnails.sh b/create_thumbnails.sh index 6174538..6bae6bb 100755 --- a/create_thumbnails.sh +++ b/create_thumbnails.sh @@ -54,8 +54,8 @@ done=0 offset=0 FILES="" -while [ $done -lt 200 ] ; do - echo "skipping $offset pics, getting 100 new pics to work on..." +while [ $done -lt 100 ] ; do + echo "skipping $offset pics, getting 50 new pics to work on..." # handle white space in filename correctly FILES=`sqlite3 $LOCALDB "select replace(base_uri||'/'||filename,' ','%20') from photos limit $offset,100"` @@ -98,5 +98,5 @@ while [ $done -lt 200 ] ; do fi #get ready to get the next 100 - offset=$((offset+100)) + offset=$((offset+50)) done