share
The share
command is the master command to access all Share-related subcommands:
bsafe share [options] [command] <data>
You can also use the share
command as a shortcut to quickly create a Share, for example:
To create a text Share with the contents "A quick Share for you" and output the Share link:
bsafe share "A quick Share for you"
To create a file Share with the file at the specified path and output the Share link:
bsafe share -f <path/to/file.ext>
Option | Description |
---|---|
| Specify a name for the Share. If none is specified, name will default to the id for text Shares and file name for file Shares. For multi-word names, use quotations |
| Specify a deletion date for the Share (defaults to 7 days if unspecified). |
| Specify the maximum access count for the Share . |
| Specify that a text Share requires recipients to toggle visibility. |
| Add private notes to the Share. For multi-word notes, use quotations |
| Output the full Share object as JSON rather than only the Share link (pair this option with the |
Full example
bsafe share -n "My Share with you" -d 7 --hidden "The contents of my Share with you."