| Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | About BLU |
Scott Ehrlich <scott at MIT.EDU> writes:
>When trying to scp a file to multiple systems at once (using ftp.ssh.org's
>ssh-1.2.27 on a Slackware 7 setup to other Slackware 7 systems), I get:
...
>My command line is:
>% scp testfile scott at host1:. scott at host2:. scott at host3:. scott at host4:.
I believe scp treats multiple arguments just like cp: the last one is
the destination, and all the rest are sources.
I suggest using shell:
for x in host1 host2 host3 host4; do scp testfile $x ; done
or, if no interaction is needed,
for x in host1 host2 host3 host4; do scp testfile $x & done
^
- Jim Van Zandt
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).