[gdal-dev] Re: access multiple files with VRT

Hermann Peifer peifer at gmx.eu
Mon Sep 20 07:53:18 EDT 2010

On 20/09/2010 10:37, Matin80 wrote:
> hm, do you think it's possible to create a batch, which looks at all the .bin
> files in the directory and automatically creates a VRT for all of them (the
> header is always the same)?

You could try this (in bash or similar):

$ for f in *.bin ; do gdal_translate -of vrt $f ${f%bin}vrt ; done


More information about the gdal-dev mailing list