Share CLI command - file
share file
Add, edit, & remove files from Uni nodes.
Table of Contents
Commands
Manage files in a Uni
Usage
Sub command | description |
---|---|
file add | Add a file |
file get | Get a file |
file list | List current files |
file remove | Remove a file |
file update | Update a file |
Examples
file add
Add a file
Usage
Flags
uni
(option) - Name of Uninode
(option) - Name of Nodesource-uri
(option) - Source URIsource-bucket
(option) - Source Bucketsource-key
(option) - Source Keysource-region
(option) - Source Regiondestination-key
(option) - Destination Keycopy-strategy
(option) - File copy strategyread
(option) - Comma separated list of Nodes that have read permission for this filewrite
(option) - Comma separated list of Nodes that have write permission for this filejson
(boolean) - Output return values as JSON
Examples
file get
Get a file
Usage
Flags
uni
(option) - Name of Uninode
(option) - Name of Nodeid
(option) - File idjson
(boolean) - Output return values as JSON
Examples
file list
List current files
Usage
Flags
uni
(option) - Name of Uninode
(option) - Name of Nodejson
(boolean) - Output return values as JSON
Examples
file remove
Remove a file
Usage
Flags
uni
(option) - Name of Uninode
(option) - Name of Nodeid
(option) - File idjson
(boolean) - Output return values as JSON
Examples
file update
Update a file
Usage
Flags
uni
(option) - Name of Uninode
(option) - Name of Nodeid
(option) - File idsource-uri
(option) - Source URIsource-bucket
(option) - Source Bucketsource-key
(option) - Source Keysource-region
(option) - Source Regiondestination-key
(option) - Destination Keyjson
(boolean) - Output return values as JSON
Examples