Home | Trees | Indices | Help |
|
---|
|
copyto [-rpC] FILE ... REMOTE_DIR
FILE
s to REMOTE_DIR
on each node of a
cluster. The cluster is identified using remote execution syntax, for
example:
osh @fred [ copyto log.properties /opt/foobar/config ]
REMOTE_DIR
must be an absolute path, (i.e. must begin
with '/'
).
copyto
is implemented using scp
, and the
following scp
flags are supported:
-C
: enable compression.
-r
: recursive copy
-p
: preserve modification times, access times, and
modes.
Functions | |||
|
Function Details |
cluster . The
last elements of files is the target directory on each node.
The preceding elements are the local files to be copied. Compression is
used for copying if compress is True. Directories are
copied recursively if recursive is True. File attributes are
preserved if preserve is True.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Mon Oct 27 23:13:40 2008 | http://epydoc.sourceforge.net |