]> git.scottworley.com Git - picsort/blobdiff - pics-preprocess
SSH connect timeout.
[picsort] / pics-preprocess
index 6563cab5afb15d4d500d9d70da474b24b7c7525e..f0fb957135d0b81b5ea06bc2f812e114c7e71cda 100755 (executable)
@@ -6,6 +6,7 @@
 
 SMALLHEIGHT=700
 
+renice -n 19 $$
 
 for f;do
   if [[ "$f" == *.NEF ]];then
@@ -29,6 +30,7 @@ for f;do
     if [[ -s "sm/$f" ]];then
       echo "Skipping sm/$f"
     else
+      mkdir -p sm
       convert "$f" -geometry "x$SMALLHEIGHT" "sm/$f"
     fi
   fi