Skip to main content

receive

The receive command accesses a Share; it takes a Share <url> for its argument:

bsafe share receive [options] <url>
  • For text Shares, receive returns the text contents of the Share to stdout.

  • For file Shares, receive downloads the file to the current working directory.

receive subcommand options

Option

Description

--password <password>

Provide the password needed to access password protected Shares as a string.

--passwordenv <passwordenv>

Specify the password needed to access password-protected Shares as a stored environment variable.

--passwordfile <passwordfile>

Specify the password needed to access password-protected Shares as a file with the password as its first line.

--obj

Output the full Share object as JSON rather than only the Share link (pair this option with the --pretty option for formatted JSON).

--ouput <output>

Specify the output directory for the contents of a file Share.