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/associated files. SYNOPSIS Usage: gdal dataset delete [OPTIONS] Delete dataset(s). Positional arguments: --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 = Configuration option [may be repeated] Advanced Options: -f, --format Dataset format OPTIONS --filename Any file name or directory name. Required. May be repeated -f, ---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 successful execution). EXAMPLES Example 1: Delete a dataset $ gdal dataset delete NE1_50M_SR_W.tif AUTHOR Even Rouault COPYRIGHT 1998-2026 August 18, 2026 GDAL-DATASET-DELETE(1)