Vai al contenuto

nexoctl ls

List buckets, objects and object versions

Synopsis

List the buckets of an alias, the objects of a bucket or prefix (one level, or every level with --recursive), the versions of the objects (--versions), the incomplete multipart uploads (--incomplete) or a local directory.

nexoctl ls [flags] TARGET...

Examples

  nexoctl ls local
  nexoctl ls local/photos/2026/
  nexoctl ls --recursive --versions local/photos
  nexoctl ls --json local/photos

Options

  -h, --help         help for ls
  -I, --incomplete   list the incomplete multipart uploads
  -r, --recursive    list every level under the prefix
      --versions     list every version and delete marker

Options inherited from parent commands

      --config-dir string   configuration directory (default $NEXOCTL_CONFIG_DIR or ~/.nexoctl)
      --debug               dump the HTTP requests and responses on stderr, with the secrets redacted
      --json                print JSON Lines (one object per line with a "status" member)
      --no-color            disable colors (also with the NO_COLOR environment variable)
  -q, --quiet               hide confirmations and progress (results and errors are still printed)

SEE ALSO

  • nexoctl - Nexo command-line client