dir loop

parent 6af2b3b3
...@@ -69,8 +69,8 @@ cd $JP2DIR ...@@ -69,8 +69,8 @@ cd $JP2DIR
for f in *; do for f in *; do
if [ -d ${f} ]; then if [ -d ${f} ]; then
cd $f cd $f
echo "gdal_merge.py -o ../"$f".tiff " $(ls *.jp2) echo "gdal_merge.py -o ../"$f".tif " $(ls *.jp2)
gdal_merge.py -o ../$f".tiff " $(ls *.jp2) gdal_merge.py -o ../$f".tif " $(ls *.jp2)
cd .. cd ..
echo $f echo $f
fi fi
......
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