Jump to content

Cli/ref/mw tools cp

From mediawiki.org
< Cli | ref

mw tools cp

[edit]

Copy files to a tool using rsync

mw tools cp [flags] [source] [destination]

Examples

[edit]
cp ./foo foo                                                     # Copy the ./foo file to your home directory
cp --tool=mytool ./foo foo                                       # Copy the ./foo file to the tool
cp --tool=mytool ./foo /tmp/foo                                  # Copy the ./foo file to /tmp/foo on the tool

Options

[edit]
  -t, --tool string   Tool to execute command on

Options inherited from parent commands

[edit]
      --help             Help for this command
      --no-interaction   Do not ask any interactive questions
  -v, --verbose count    Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

[edit]
  • mw tools - Interact with any Wikimedia “Tool”