1pdsh(1) General Commands Manual pdsh(1)
2
3
4
6 pdcp - copy files to groups of hosts in parallel
7 rpdcp - (reverse pdcp) copy files from a group of hosts in parallel
8
9
11 pdcp [options]... src [src2...] dest
12 rpdcp [options]... src [src2...] dir
13
14
16 pdcp is a variant of the rcp(1) command. Unlike rcp(1), which copies
17 files to a single remote host, pdcp can copy files to multiple remote
18 hosts in parallel. However, pdcp does not recognize files in the for‐
19 mat ``rname@rhost:path,'' therefore all source files must be on the
20 local host machine. Destination nodes must be listed on the pdcp com‐
21 mand line using a suitable target nodelist option (See the OPTIONS sec‐
22 tion below). Each destination node listed must have pdcp installed for
23 the copy to succeed.
24
25 When pdcp receives SIGINT (ctrl-C), it lists the status of current
26 threads. A second SIGINT within one second terminates the program.
27 Pending threads may be canceled by issuing ctrl-Z within one second of
28 ctrl-C. Pending threads are those that have not yet been initiated, or
29 are still in the process of connecting to the remote host.
30
31 Like pdsh(1), the functionality of pdcp may be supplemented by dynami‐
32 cally loadable modules. In pdcp, the modules may provide a new connect
33 protocol (replacing the standard rsh(1) protocol), filtering options
34 (e.g. excluding hosts that are down), and/or host selection options
35 (e.g. -a selects all nodes from a local config file). By default, pdcp
36 requires at least one "rcmd" module to be loaded (to provide the chan‐
37 nel for remote copy).
38
39
41 rpdcp performs a reverse parallel copy. Rather than copying files to
42 remote hosts, files are retrieved from remote hosts and stored locally.
43 All directories or files retrieved will be stored with their remote
44 hostname appended to the filename. The destination file must be a
45 directory when this option is used.
46
47 In other respects, rpdcp is exactly like pdcp, and further statements
48 regarding pdcp in this manual also apply to rpdcp.
49
50
52 The method by which pdcp connects to remote hosts may be selected at
53 runtime using the -R option (See OPTIONS below). This functionality is
54 ultimately implemented via dynamically loadable modules, and so the
55 list of available options may be different from installation to instal‐
56 lation. A list of currently available rcmd modules is printed when
57 using any of the -h, -V, or -L options. The default rcmd module will
58 also be displayed with the -h and -V options.
59
60 A list of rcmd modules currently distributed with pdcp follows.
61
62 rsh Uses an internal, thread-safe implementation of BSD rcmd(