"gdal vsi" command

Added in version 3.11.

Entry point for GDAL Virtual System Interface (VSI) commands

The subcommands of gdal vs allow manipulation of files located on the GDAL Virtual File Systems (compressed, network hosted, etc...): /vsimem, /vsizip, /vsitar, /vsicurl, ....

Synopsis

Usage: gdal vsi <SUBCOMMAND> [OPTIONS]
where <SUBCOMMAND> is one of:
  - copy:   Copy files located on GDAL Virtual System Interface (VSI). (alias: cp)
  - delete: Delete files located on GDAL Virtual System Interface (VSI). (alias: rm, rmdir, del)
  - list:   List files of one of the GDAL Virtual System Interface (VSI). (alias: ls)
  - sozip:  Seek-optimized ZIP (SOZIP) commands.

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

Available sub-commands

Examples

Example 1: Listing recursively files in /vsis3/bucket with details

$ gdal vsi list -lR --of=text /vsis3/bucket