salt/doc/ref/cli/salt-cp.rst

48 lines
803 B
ReStructuredText
Raw Normal View History

2011-05-23 06:58:49 +00:00
===========
``salt-cp``
===========
Copy a file to a set of systems
Synopsis
========
::
salt-cp '*' [ options ] SOURCE DEST
salt-cp -E '.*' [ options ] SOURCE DEST
salt-cp -G 'os:Arch.*' [ options ] SOURCE DEST
Description
===========
2012-05-23 04:43:12 +00:00
Salt copy copies a local file out to all of the Salt minions matched by the
2011-05-23 06:58:49 +00:00
given target.
Options
=======
.. program:: salt-cp
.. include:: _includes/common-options.rst
2011-05-23 06:58:49 +00:00
.. option:: -t TIMEOUT, --timeout=TIMEOUT
2012-05-23 04:43:12 +00:00
The timeout in seconds to wait for replies from the Salt minions.
2011-05-23 06:58:49 +00:00
.. include:: _includes/logging-options.rst
.. |logfile| replace:: /var/log/salt/master
.. |loglevel| replace:: ``warning``
2011-05-23 06:58:49 +00:00
.. include:: _includes/target-selection.rst
2011-05-23 06:58:49 +00:00
2012-05-10 22:10:39 +00:00
See also
========
:manpage:`salt(1)`
:manpage:`salt-master(1)`
:manpage:`salt-minion(1)`