scp

Hari N hari2n at gmail.com
Wed Jul 16 07:20:05 UTC 2008


On Wed, Jul 16, 2008 at 2:55 AM, Joy Methew <ml4joy at gmail.com> wrote:

> hello all....
>               can we give multiple destination in one statement scp
> command.
>

No, but you can write a small script such as:

for host in <hosts-list>
do
scp file/files  $host:/destination-path
done

--
Hari



More information about the redhat-list mailing list