1GDALMANAGE(1)                        GDAL                        GDALMANAGE(1)
2
3
4

NAME

6       gdalmanage -  Identify, delete, rename and copy raster data files.
7

SYNOPSIS

9          Usage: gdalmanage mode [-r] [-u] [-f format]
10                            datasetname [newdatasetname]
11

DESCRIPTION

13       The  gdalmanage  program  can perform various operations on raster data
14       files, depending on the chosen mode. This includes  identifying  raster
15       data types and deleting, renaming or copying the files.
16
17       <mode> Mode of operation
18
19              identify <datasetname>:
20                     List data format of file.
21
22              copy <datasetname> <newdatasetname>:
23                     Create a copy of the raster file with a new name.
24
25              rename <datasetname> <newdatasetname>:
26                     Change the name of the raster file.
27
28              delete <datasetname>:
29                     Delete raster file.
30
31       -r     Recursively scan files/folders for raster files.
32
33       -u     Report failures if file type is unidentified.
34
35       -f <format>
36              Specify  format  of  raster  file if unknown by the application.
37              Uses short data format name (e.g. GTiff).
38
39       <datasetname>
40              Raster file to operate on.
41
42       <newdatasetname>
43              For copy and rename modes, you provide a source filename  and  a
44              target  filename, just like copy and move commands in an operatā€
45              ing system.
46

EXAMPLES

48   Using identify mode
49       Report the data format of the raster file by using  the  identify  mode
50       and specifying a data file name:
51
52          $ gdalmanage identify NE1_50M_SR_W.tif
53
54          NE1_50M_SR_W.tif: GTiff
55
56       Recursive mode will scan subfolders and report the data format:
57
58          $ gdalmanage identify -r 50m_raster/
59
60          NE1_50M_SR_W/ne1_50m.jpg: JPEG
61          NE1_50M_SR_W/ne1_50m.png: PNG
62          NE1_50M_SR_W/ne1_50m_20pct.tif: GTiff
63          NE1_50M_SR_W/ne1_50m_band1.tif: GTiff
64          NE1_50M_SR_W/ne1_50m_print.png: PNG
65          NE1_50M_SR_W/NE1_50M_SR_W.aux: HFA
66          NE1_50M_SR_W/NE1_50M_SR_W.tif: GTiff
67          NE1_50M_SR_W/ne1_50m_sub.tif: GTiff
68          NE1_50M_SR_W/ne1_50m_sub2.tif: GTiff
69
70   Using copy mode
71       Copy the raster data:
72
73          $ gdalmanage copy NE1_50M_SR_W.tif ne1_copy.tif
74
75   Using rename mode
76       Rename raster data:
77
78          $ gdalmanage rename NE1_50M_SR_W.tif ne1_rename.tif
79
80   Using delete mode
81       Delete the raster data:
82
83          gdalmanage delete NE1_50M_SR_W.tif
84

AUTHOR

86       Frank Warmerdam <warmerdam@pobox.com>
87
89       1998-2023
90
91
92
93
94                                 Apr 17, 2023                    GDALMANAGE(1)
Impressum