Skip to main content

signaloid-cli files ls

List files in storage.

Note: This command is an alias for signaloid-cli files list. Both command names work interchangeably.

Synopsis

signaloid-cli files ls [options]
signaloid-cli files list [options]

Description

List files and directories in your Signaloid cloud storage. Returns a JSON array containing file metadata including paths, sizes, types, and modification timestamps.

Options

OptionDescription
--path <path>Directory path to list (optional)
--start-key <token>Pagination cursor token
--count <n>Number of items to fetch using pagination
--format <type>Output format: json|table (default: table)
--columns <cols>Columns to display (comma-separated) or 'help' to see available columns

Examples

List all files

signaloid-cli files ls

List files in specific directory

signaloid-cli files ls --path datasets/

Output

{
"Files": [
{
"Path": "datasets/data.csv",
"Size": 1024,
"Type": "file",
"ModifiedAt": "2025-01-13T12:00:00Z"
},
{
"Path": "datasets/results/",
"Type": "directory",
"ModifiedAt": "2025-01-13T12:30:00Z"
}
]
}

Extract file paths

signaloid-cli files ls --path datasets/ | jq -r '.Files[].Path'

Notes

  • Results are returned in JSON format
  • Use jq for parsing and filtering output
  • Directories are indicated by "Type": "directory"
  • Use --start-key for paginating through large result sets

See Also