.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "GDAL-VSI-DELETE" "1" "May 06, 2025" "" "GDAL" .SH NAME gdal-vsi-delete \- Delete files located on GDAL Virtual System Interface (VSI) .sp Added in version 3.11. .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .EX Usage: gdal vsi delete [OPTIONS] Delete files located on GDAL Virtual System Interface (VSI). Positional arguments: \-\-filename File or directory name to delete [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] Options: \-r, \-R, \-\-recursive Delete directories recursively .EE .UNINDENT .UNINDENT .SH DESCRIPTION .sp \fBgdal vsi delete\fP delete files and directories located on \fI\%GDAL Virtual File Systems (compressed, network hosted, etc...): /vsimem, /vsizip, /vsitar, /vsicurl, ...\fP\&. .sp This is the equivalent of the UNIX \fBrm\fP command, and \fBgdal vsi rm\fP is an alias for \fBgdal vsi delete\fP\&. .sp \fBWARNING:\fP .INDENT 0.0 .INDENT 3.5 Be careful. This command cannot be undone. It can also act on the \(dqreal\(dq file system. .UNINDENT .UNINDENT .SS Options .INDENT 0.0 .TP .B \-r, \-R, \-\-recursive Delete directories recursively. .UNINDENT .SH EXAMPLES .SS Example 1: Delete recursively files from /vsis3/bucket/my_dir .INDENT 0.0 .INDENT 3.5 .sp .EX $ gdal vsi delete \-r /vsis3/bucket/my_dir .EE .UNINDENT .UNINDENT .SH AUTHOR Even Rouault .SH COPYRIGHT 1998-2025 .\" Generated by docutils manpage writer. .