📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

ti fs list-files



Lists entries below a remote path. The command alias is ti fs ls.

Syntax

ti fs list-files [--file-system-id <string>] [--fs-token <string>] [--help] [--path <string>] [--version]

Options

  • --file-system-id <string>: Select the file system. You can also set TI_FS_FILE_SYSTEM_ID.
  • --fs-token <string>: Set the file system user token. If omitted, uses TI_FS_TOKEN.
  • --help: Display help information.
  • --path <string>: File system directory path. [default: /]
  • --version: Display version information.

For options shared by all commands, see Global options.

Examples

  • List a remote directory:

    # Return the entries under a specific Filesystem path. ti fs list-files --file-system-id <file-system-id> --path /reports

Was this page helpful?