scout
[OPTIONS] -g GROUP scout
[OPTIONS] COMMAND ... scout
GROUP | group name to specify the set of compute hosts | |
COMMAND | any shell command and associated arguments if any |
% scout -g HOSTGROUP % scout -stdin "cat > /tmp/remote-file" < ./local-file
Here, the copy of ./local-file is created on every remote hosts. Note that the remote shell command must be quoted so that the local shell will not interpret it.