Copy files from ServerA to ServerB and sleep for minute

I will get files into ServerA and sleep for 1 minute and go on..
I need a script to copy files from ServerA to ServerB without missing files or copying half files then sleep for minute.
For next minute new files has to copied and old files has to be removed from ServerB

So a few questions first:-

  • What have you tried so far?
  • What error/output are you getting?
  • What OS and version are you running under for both ServerA & ServerB?
  • What is your preferred shell?
  • What are your preferred tools?

Most importantly, What have you tried so far?

Robin

1 Like