scp

Daniel Carrillo daniel.carrillo at gmail.com
Wed Jul 16 07:05:21 UTC 2008


2008/7/16 Joy Methew <ml4joy at gmail.com>:
> hello all....
>               can we give multiple destination in one statement scp
> command.

No, you can't.

But, you can do something like this:

for i in <dir1> <dir2> <dir n> ; do
   scp myfile user at host:/$i
done




More information about the redhat-list mailing list