]> git.scottworley.com Git - picsort/blobdiff - pics-preprocess
Support '?' in destination filenames
[picsort] / pics-preprocess
index 6563cab5afb15d4d500d9d70da474b24b7c7525e..a67f460eb1ef665efa132da12459b78fde222bf3 100755 (executable)
@@ -29,6 +29,7 @@ for f;do
     if [[ -s "sm/$f" ]];then
       echo "Skipping sm/$f"
     else
     if [[ -s "sm/$f" ]];then
       echo "Skipping sm/$f"
     else
+      mkdir -p sm
       convert "$f" -geometry "x$SMALLHEIGHT" "sm/$f"
     fi
   fi
       convert "$f" -geometry "x$SMALLHEIGHT" "sm/$f"
     fi
   fi