The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Industrial IoT Open Source Tools and Libraries

Demo applications, libraries and SDKs as well as useful connectivity tools which are maintained and released as open source software.

mdsp data-exchange Command¶

Syntax:

mdsp data-exchange

Help:

mdsp data-exchange --help

Alternative form:

mc data-exchange

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

Description¶

list, upload, download and manage data exchange files and directories *

Usage¶

Parameter list:

Usage: mdsp data-exchange|dx [options]

list, upload, download and manage data exchange files and directories *

Options:
 -m, --mode [list|info|download|upload|rename|delete|renamedir|mkdir|rmdir] mode [list | info | download | upload | rename | renamedir |
 delete | mkdir | rmdir ] (default: "list")
 -f, --file file path
 -n, --dirname directory name for --mode mkdir command
 -w, --newname new file or directory name for --mode rename or renamedir command
 -d, --dirid directory id [private | public | ] (default: "public")
 -i, --fileid fileid
 -r, --recursive used for --mode rmdir command, deletes all content in directory
 -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 data-exchange command:

 Examples:

 mdsp data-exchange --mode list list all entries in public data exchange root
 mdsp data-exchange --mode list --dirid private list all entries in private data exchange root
 mdsp data-exchange --mode info --dirid get full info about the specified directory
 mdsp data-exchange --mode info --fileid get full info about the specified
 mdsp data-exchange --mode download --fileid download file with specified id
 mdsp data-exchange --mode upload --file --dirid upload file to specified directory
 mdsp data-exchange --mode rename --fileid --newname rename the specified file
 mdsp data-exchange --mode renamedir --dirid --newname rename the specified directory
 mdsp data-exchange --mode delete --fileid delete file with specified id
 mdsp data-exchange --mode rmdir --dirid delete directory with specified id
 mdsp data-exchange --mode rmdir --dirid --recursive delete directory with specified id recrusively

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