Skip to main content

bonya fs

Reads and writes files inside a sandbox. Every subcommand names its sandbox by name or id, interchangeably, and omitting it opens a picker:
All nine subcommands accept --by-name to force name interpretation of the sandbox argument.

read (alias: cat)

Prints a remote file to stdout.

write

Writes a local file — or stdin, with - — to a remote path.
Argument order is remote path, then local source — the opposite order from upload. write exists mainly for piping stdin straight to a remote file; upload exists for local-file-to-remote-file with the more intuitive source-then-destination order.

upload

Uploads a local file to a remote path. Source, then destination — the familiar order.

download

Downloads a remote file to a local path.

ls

Lists a remote directory.
On a real terminal, bonya fs ls looks like this:

stat

Shows metadata (kind, size, mode, modified time) for a remote path.

mkdir

Creates a remote directory.

rm

Removes a remote file or directory.

mv

Moves (renames) a remote file or directory.

All subcommands at a glance