Martin, If you are running it on Windows you can use "for" (type "help for" on Command Prompt), ex:
C:\Data> for /l %i in (1,1,300) do gdal_translate -b %i input_file output_%i.tif > -------Original Message------- > From: Matin80 <[email protected]> > To: [email protected] > Subject: [gdal-dev] split netCDF > Sent: Aug 06 '10 05:56 > > > Hi everyone, > > I have a netCDF-file containing over 300 bands. > is it possible to split up the file and get the same number of GeoTiffs with > GDAL in a single command line? All i found to this topic ended in merging > the bands to a single output file... > > kind regards, > Martin > > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/split-netCDF-tp5380091p5380091.html > Sent from the GDAL - Dev mailing list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
