Make a virtual mosaic from all TIFF files contained in a directory

gdalbuildvrt

  • Build Virtual Datasets from a list of existing datasets.
    More information: <https://gdal.org/programs/gdalbuildvrt.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

gdalbuildvrt {{path/to/output.vrt}} {{path/to/input_directory/*.tif}}

click the source code to copy install gdalbuildvrt on any operating system with command-not-found.com