Browse Source

reduced to 512

Fred Damstra [k8s4] 1 year ago
parent
commit
476c82735d
1 changed files with 1 additions and 1 deletions
  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