Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GDAL-DATASET-DELETE(1)		      GDAL		  GDAL-DATASET-DELETE(1)

NAME
     gdal-dataset-delete - Delete dataset(s)

     Added in version 3.12.

     gdal dataset delete delete dataset(s), including potential side-car/associ-
     ated files.

SYNOPSIS
	Usage: gdal dataset delete [OPTIONS] <FILENAME>

	Delete dataset(s).

	Positional arguments:
	  --filename <FILENAME>   File or directory name [may be repeated] [required]

	Common Options:
	  -h, --help		  Display help message and exit
	  --json-usage		  Display usage as JSON document and exit
	  --config <KEY>=<VALUE>  Configuration option [may be repeated]

	Advanced Options:
	  -f, --format <FORMAT>   Dataset format

OPTIONS
     --filename <FILENAME>
	    Any file name or directory name. Required. May be repeated

     -f, ---format <FORMAT>
	    Dataset format. Helps if automatic detection does not work.

RETURN STATUS CODE
     The  program returns status code 0 in case of success, and non-zero in case
     of error (non-blocking errors emitted as warnings are considered as a  suc-
     cessful execution).

EXAMPLES
   Example 1: Delete a dataset
	$ gdal dataset delete NE1_50M_SR_W.tif

AUTHOR
     Even Rouault <even.rouault@spatialys.com>

COPYRIGHT
     1998-2026

				  Jun 05, 2026		  GDAL-DATASET-DELETE(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=gdal-dataset-delete&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help