C:\gdal\bin>dir SO
Volume in drive C is Main
Volume Serial Number is 9C3A-1914
Directory of C:\gdal\bin\SO
05/08/2008 02:43 PM
.
05/08/2008 02:43 PM ..
03/24/2008 02:51 PM 8,741,582 08032414494079600000.tif
03/24/2008 02:51 PM 12,601,120 08032414494081200001.tif
03/24/2008 02:52 PM 13,492,350 08032414494081200002.tif
03/24/2008 02:52 PM 3,126,672 08032414494081200003.tif
03/24/2008 02:52 PM 12,647,220 08032414494084300007.tif
03/24/2008 02:52 PM 15,798,032 08032414494084300008.tif
03/24/2008 02:52 PM 17,386,022 08032414494084300009.tif
03/24/2008 02:53 PM 16,856,428 08032414494085900010.tif
03/24/2008 02:54 PM 9,193,608 08032414494089000011.tif
03/24/2008 02:53 PM 10,767,044 08032414494089000014.tif
03/24/2008 02:53 PM 17,578,826 08032414494090600015.tif
03/24/2008 02:53 PM 17,849,692 08032414494090600016.tif
03/24/2008 02:53 PM 18,275,704 08032414494092100017.tif
03/24/2008 02:54 PM 18,607,742 08032414494092100018.tif
03/24/2008 02:54 PM 5,083,842 08032414494092100019.tif
03/24/2008 02:54 PM 2,068,598 08032414494093700022.tif
03/24/2008 02:54 PM 10,584,830 08032414494096800023.tif
03/24/2008 02:54 PM 10,523,744 08032414494096800024.tif
03/24/2008 02:54 PM 15,379,636 08032414494098400025.tif
03/24/2008 02:54 PM 7,291,834 08032414494098400026.tif
03/24/2008 02:54 PM 2,513,416 08032414494098400027.tif
03/24/2008 02:54 PM 2,014,736 08032414494101500032.tif
03/24/2008 02:55 PM 15,272,032 08032414494375000000.tif
03/24/2008 02:55 PM 6,939,892 08032414494375000001.tif
03/24/2008 02:55 PM 4,575,804 08032414494376500004.tif
03/24/2008 02:55 PM 2,947,654 08032414494507800000.tif
03/24/2008 02:55 PM 371,272 08032414494543700000.tif
03/24/2008 02:55 PM 38,380 08032414494587500000.tif
03/24/2008 02:55 PM 37,966 08032414494625000000.tif
29 File(s) 278,565,678 bytes
2 Dir(s) 3,276,439,552 bytes free
C:\gdal\bin>gdaltindex
Usage: gdaltindex [-tileindex field_name] [-write_absolute_path]
[-skip_different_projection] index_file [gdal_file]*
eg.
% gdaltindex doq_index.shp doq/*.tif
NOTES:
o The shapefile (index_file) will be created if it doesn't already exist.
o The default tile index field is 'location'.
o Raster filenames will be put in the file exactly as they are specified
on the commandline unless the option -write_absolute_path is used.
o If -skip_different_projection is specified, only files with same projection
ref
as files already inserted in the tileindex will be inserted.
o Simple rectangular polygons are generated in the same
coordinate system as the rasters.
C:\gdal\bin>gdaltindex SO_index.shp SO\*.tif
ERROR 4: Unable to open SO_index.shp or SO_index.SHP.
Creating new index file...
ERROR 4: `SO\*.tif' does not exist in the file system,
and is not recognised as a supported dataset name.
Unable to open SO\*.tif, skipping.
C:\gdal\bin>gdaltindex SO_index.shp SO\08032414494625000000.tif
C:\gdal\bin>gdaltindex SO_index.shp SO\08032414494587500000.tif