Trying to batch mosaic 1000 Gtiff rasters (all in one folder) into 1 tif file via gdal merge on linux ubuntu.
Having trouble with the linux command to bring in all files in a folder into the output tiff.
Looking for sample code for use in gdal on ubuntu in the terminal.
For Ubuntu my best guess is
for f in *.tiff; do gdal_merge -of GTiff "$f"; done