dir loop

parent e83a3c74
......@@ -68,7 +68,7 @@ done
cd $JP2DIR
for f in *; do
if [ -d ${f} ]; then
# Will not run if no directories are available
gdal_merge.py -separate -co PHOTOMETRIC=RGB -o $dateText1".tiff" $(ls *.jp2)
echo $f
fi
done
......
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