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.