unix1986 / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh
Other
0 stars 0 forks source link

feature: copy multiple files via p-scp or p-rsync #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The following should work:

parallel-scp -h myhosts.txt *.deb /root/repo

...but doesn't

Original issue reported on code.google.com by thkoch2001@gmail.com on 9 Mar 2010 at 4:48

GoogleCodeExporter commented 8 years ago
Thanks for opening an issue for this.  I agree that this functionality should 
be 
supported.

Original comment by amcna...@gmail.com on 9 Mar 2010 at 5:31

GoogleCodeExporter commented 8 years ago
a very simple/dirty implementation for this feature with minimal code changes 
for pscp

Original comment by care...@gmail.com on 23 Apr 2010 at 9:33

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch.  I've applied it, with some minor modifications, and 
pushed the 
commit.  FYI, one of the little changes was switching "locals[:-2]" to 
"locals[:-1]" 
(in Python, this means to grab everything up to but not including the last 
element).  
Anyway, I've tested the commit a little, but it would be great if you could try 
it 
out, too.  Thanks for your help!

Original comment by amcna...@gmail.com on 23 Apr 2010 at 3:46