Skip to main content

get

Use the get command to retrieve a Share owned by you and output it as a JSON object; it takes an exact id value or any string for its argument. If you use a string, get will search your Shares for one with a value that matches:

bsafe share get [options] <id / string>

If you create a Share in another Bravura Safe app while this session is still active, use the bsafe sync command (sync) to pull recent shares.

Table 1. get subcommand options

Option

Description

--text

Output only the text contents of a text Share.

--file

Output only the file of a file Share. Pair --file with --output to specify a directory, or with --raw to output to stdout.

--output <output>

Specify the output directory for the --file option.



The sync command downloads your encrypted safe from the server. This command is most useful when you have changed something in your safe on another client application; for example, using the web interface or browser extension, since logging in on the CLI.

bsafe sync

You can pass the --last option to return only the timestamp (ISO 8601) of the last time a sync was performed.

Note

sync only performs a pull from the server. Data is automatically pushed to the server any time you make a change to your safe such as create, edit, or delete.