gdal vsi
Added in version 3.11.
Entry point for GDAL Virtual System Interface (VSI) commands
The subcommands of gdal vsi 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)
- move: Move/rename a file/directory located on GDAL Virtual System Interface (VSI). (alias: mv, ren, rename)
- sozip: Seek-optimized ZIP (SOZIP) commands.
- sync: Synchronize source and target file/directory located on GDAL Virtual System Interface (VSI).
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]
Available sub-commands
Examples
Example 1: Listing recursively files in /vsis3/bucket with details
$ gdal vsi list -lR --of=text /vsis3/bucket