View Single Post

   
  #2 (permalink)  
Old 01-16-2008, 11:34 AM
CK
 
Posts: n/a
Default Re: Scripting help - copying modified files to another server

Words to the wise, "steeles" <steeles@gmail.com> wrote:

>Need some help from scripting Guru.
>
>server A and B has the same directory structure, so I need to copy all new
>modified files to correstponding directory in Sever B.
>
>I can use "find" command to locate those file and direcotries into a file,
>but how can I copy over.
>
>I need some assisstance for this.


First thing which comes to mind is setting up sftp

- in batch mode
- with ssh keys in order not to need authentification

Second thing which comes to mind is using rsync.
--
Claus Dragon <clauskick@mpsahotmail.com>
=(UDIC)=
d++ e++ T--
K1!2!3!456!7!S a27
"Coffee is a mocker. So, I am going to mock."

- Me, lately.
Reply With Quote