|
@@ -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
|