浏览代码

reduced to 512

Fred Damstra [k8s4] 1 年之前
父节点
当前提交
476c82735d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sort_and_upload.sh

+ 1 - 1
sort_and_upload.sh

@@ -30,7 +30,7 @@ if compgen -G "${MIDJOURNEYDIR}/images/*.png" > /dev/null; then
   echo New files. Sorting.
   for i in ${MIDJOURNEYDIR}/images/*.png; do
     maxdim=$(file "$i" | sed 's/,//g' | awk '{ print ($6 > $8)? $6 : $8 }')
-    if [ $maxdim -lt 767 ]; then
+    if [ $maxdim -lt 512 ]; then
       echo SMALL: "$i"
       rsync $i ${MIDJOURNEYDIR}/images.small/
       if [ $? -eq 0 ]; then