ti fs create-directory
Creates a remote directory. The command alias is ti fs mkdir.
Syntax
ti fs create-directory
--path <string>
[--dry-run]
[--file-system-id <string>]
[--fs-token <string>]
[--help]
[--mode <string>]
[--version]
Options
--path <string>: The file system path of the directory to create. [required]--dry-run: Validate the request without applying changes.--file-system-id <string>: Select the file system. You can also setTI_FS_FILE_SYSTEM_ID.--fs-token <string>: Set the file system user token. If omitted, usesTI_FS_TOKEN.--help: Display help information.--mode <string>: The directory mode as an octal value such as 0755.--version: Display version information.
For options shared by all commands, see Global options.
Examples
Create a remote directory:
# Create the directory with explicit POSIX permission metadata. ti fs create-directory --file-system-id <file-system-id> --path /reports/archive --mode 0755