| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| README | 2015-05-18 | 817 Bytes | |
| rext | 2015-05-18 | 2.9 kB | |
| Totals: 2 Items | 3.7 kB | 1 |
rext: Remote EXecution and file Transfer on all hosts listed in ./rext.hosts.
If ./rext.hosts doesn't exist, host names are read from stdin.
USAGE: rext [ options ] <cmd line> # execute <command line> on all hosts
rext [ options ] -f <file1> -s <file2> # send local <file1> to remote <file2>
rext [ options ] -f <file1> -r <file2> # receive remote <file2> to local <file1>.<hostname>
rext -f <file1> -s <file2> -r <file3> <cmd line>
- For each host listed in ./rext.hosts:
. send local <file1> to <file2>
. execute <command line>
. receive <file3> to <file1>.<hostname>
Options:
-i <host list> file with list of hosts to be processed
-l <user> user login for ssh, default is current user