Re: copy one file, multiple machines

2005-06-03 Thread =?ISO-8859-1?Q?Diego_Mart=EDnez_Casta=F1eda?=
On 6/3/05, Jacob S <[EMAIL PROTECTED]> wrote: > #!/bin/bash > > MACHINES="hostname1 hostname2 ip.add.ress.3 hostname4" > > for MACHINE in $MACHINES ; do > > scp script_filename_sh $MACHINE:/etc/cron.daily/ > > done > if you had a key for your machines, you would use this command: KEY="/my/

Re: copy one file, multiple machines

2005-06-03 Thread Gregory Seidman
On Fri, Jun 03, 2005 at 09:54:32AM -0400, jmr_071769 wrote: } howdy everyone. } } this is more of a linux question. i have script_filename_sh that i'd } like to copy to multiple /etc/cron.daily/ directories on our network. } what's a nifty script that could save me from up-arrow'ing/scp'ing to dea

Re: copy one file, multiple machines

2005-06-03 Thread Jacob S
On Fri, 03 Jun 2005 09:54:32 -0400 jmr_071769 <[EMAIL PROTECTED]> wrote: > howdy everyone. > > this is more of a linux question. i have script_filename_sh that i'd > like to copy to multiple /etc/cron.daily/ directories on our network. > what's a nifty script that could save me from up-arrow'ing/