Explorar o código

reduced to 512

Fred Damstra [k8s4] hai 1 ano
pai
achega
476c82735d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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