Skip to content

mdsp list-files Command

Syntax:

mdsp list-files

Help:

mdsp list-files --help

Alternative form:

mc list-files

(The CLI was using mc as default command name in older versions)

Description

list files stored with the asset *

Usage

Parameter list:

Usage: mdsp list-files|ls [options]

list files stored with the asset *

Options:
 -i, --assetid Insights Hub asset id
 -f, --filter [filter] filter (see: https://developer.mindsphere.io/apis/iot-iotfile/api-iotfile-references-filtering.html)
 -k, --passkey passkey
 -y, --retry retry attempts before giving up (default: "3")
 -v, --verbose verbose output
 -h, --help display help for command

Examples

Here are some examples of how to use the mdsp list-files command:

 Examples:

 mdsp ls --assetid 1234...ef --passkey mypasskey list all files for assetid
 mdsp ls --assetid 1234...ef --filter "path=upload*" --passkey mypasskey list all files where path contains upload

See Insights Hub API documentation for more information about Insights Hub APIs.

Community

Connect and Collaborate with Industrial Professionals and Join the Community!

Click to load comments