Commit 252d8f9d authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

rgb

parent 37212312
...@@ -33,8 +33,9 @@ do ...@@ -33,8 +33,9 @@ do
# echo "gre-"$green # echo "gre-"$green
# echo "blu-"$blue # echo "blu-"$blue
if [ ! -d "rgbCroped" ]; then RGBCROPED=$JP2DIR"rgbCroped"
mkdir rgbCroped if [ ! -d $RGBCROPED ]; then
mkdir $RGBCROPED
fi fi
fileout1=$(echo $filepattern | cut -d"_" -f1) fileout1=$(echo $filepattern | cut -d"_" -f1)
...@@ -46,11 +47,11 @@ do ...@@ -46,11 +47,11 @@ do
# fi # fi
cd rgbCroped # cd rgbCroped
if [ ! -d $fileout1 ]; then # if [ ! -d $fileout1 ]; then
mkdir $fileout1 # mkdir $fileout1
fi # fi
cd .. # cd ..
if [ ! -e $JP2DIR"rgbCroped/"$fileout1/$fileout2"_"$fileout1".jpg" ]; then if [ ! -e $JP2DIR"rgbCroped/"$fileout1/$fileout2"_"$fileout1".jpg" ]; then
......
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