GLOBUS BOOKMARK CREATE
Create a new bookmark. Given an endpoint plus a path, and a name for the bookmark, the service will generate the bookmark’s ID.
Bookmarks are aliases for locations on endpoints, and their names are unique per account. You may not have multiple bookmarks with the same name. You can use bookmarks in other commands by using globus bookmark show.
The new bookmark name may be up to 128 characters long. Bookmarks are only visible and usable for the user who created them. If the target endpoint is private or deleted, the bookmark is unusable.
'PATH' is assumed to be URL-encoded. 'PATH' must be a directory and end with "/".
- -v, --verbose
Control level of output
- -h, --help
Show this message and exit.
Output format for stdout. Defaults to text
A JMESPath expression to apply to json output. Forces the format to be json processed by this expression
Map HTTP statuses to any of these exit codes: 0,1,50-99. e.g. "404=50,403=51"
Create a bookmark named 'mybookmark':
$ globus bookmark create 'ddb59aef-6d04-11e5-ba46-22000b92c6ec:/~/' mybookmark
Take a specific field from the JSON output and format it into unix-friendly output by using '--jmespath' and '--format=UNIX':
$ globus bookmark create \ 'ddb59aef-6d04-11e5-ba46-22000b92c6ec:/~/' mybookmark \ -F unix --jmespath 'id'
0 on success.
1 if a network or server error occurred, unless --map-http-status has been used to change exit behavior on http error codes.
2 if the command was used improperly.
3 if the command was used on the wrong type of object, e.g. a collection command used on an endpoint.
4 if the command has authentication or authorization requirements which were not met, as in ConsentRequired errors or missing logins.