Commit 821da2d1 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

parallel

parent 4714e7ef
#!/bin/sh
JP2DIR=$1 #JP2 Directory
POLYGON=$2 #Crop Window
JOBS=${2:-1}
JOBS=${3:-1}
#BOX=$(python3 polygonToBox.py "$POLYGON")
#cd $JP2DIR
......@@ -33,7 +33,7 @@ if [ "$#" -le 2 ]; then
fi
cd $JP2DIR
ls -d */ | parallel --jobs $JOBS test.sh {} $POLYGON
ls -d */ | parallel --jobs $JOBS test.sh {} $POLYGON
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment