Skip to content

Commit

Permalink
docs: add rcp documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tschettervictor authored Jan 11, 2025
1 parent 14d7f4a commit c67ab18
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/chapters/subcommands/rcp.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
===
rcp
===

This command allows copying files from a single jail to the host.

.. code-block:: shell
ishmael ~ # bastille rcp bastion /tmp/myfile /temp
[bastion]:
/usr/local/bastille/jails/bastion/root/tmp/myfile -> /temp/myfile
Unless you see errors reported in the output the `rcp` was successful.

.. code-block:: shell
ishmael ~ # bastille rcp help
Usage: bastille rcp [option(s)] TARGET JAIL_PATH HOST_PATH
Options:
-q | --quiet Suppress output.
-x | --debug Enable debug mode.

0 comments on commit c67ab18

Please sign in to comment.