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

rgb

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