dir loop

parent 24b4d35b
...@@ -70,7 +70,7 @@ for f in *; do ...@@ -70,7 +70,7 @@ for f in *; do
if [ -d ${f} ]; then if [ -d ${f} ]; then
cd $f cd $f
echo "gdal_merge.py -o ../"$f".tif " $(ls *.jp2) echo "gdal_merge.py -o ../"$f".tif " $(ls *.jp2)
gdal_merge.py -o ../$f".tif " $(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