Files
BastilleBSD_bastille/docs/chapters/subcommands/rcp.rst

22 lines
550 B
ReStructuredText
Raw Normal View History

2025-01-21 08:14:09 -07:00
rcp
===
This command allows copying files from jail to host.
.. code-block:: shell
ishmael ~ # bastille rcp bastion /test/testfile.txt /tmp/testfile.txt
[bastion]:
/usr/local/bastille/jails/bastion/root/test/testfile.txt -> /tmp/testfile.txt
2025-04-10 06:53:03 -06:00
Unless you see errors reported in the output the ``rcp`` was successful.
2025-01-21 08:14:09 -07:00
.. code-block:: shell
ishmael ~ # bastille rcp help
Usage: bastille rcp [option(s)] TARGET JAIL_PATH HOST_PATH
2025-05-18 17:16:17 -06:00
Options:
-q | --quiet Suppress output.
-x | --debug Enable debug mode.