MindSphere CLI: 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: mc list-files|ls [options]

list files stored with the asset *

Options:
  -i, --assetid   mindsphere 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 MindSphere API documentation for more information about MindSphere APIs.

The content of the community tools and libraries documentation pages is licensed under the MIT License.
Siemens API Notice applies.
Back to top