mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-03 19:23:42 +01:00
docs: add rcp documentation
This commit is contained in:
22
docs/chapters/subcommands/rcp.rst
Normal file
22
docs/chapters/subcommands/rcp.rst
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user