Script to scp in the background
Posted on 2008-10-16
Can you provide me a script to scp the files from one server to other in the background. I dont have the flexiblity for creating the equalance between the servers to bypass the password as they are production servers and need a change request.
I tried to write a script by not able to figure out how to pass the password to the script and make it run in the background. There are like 80 files that i need to transfer and a script to automate that would be wonderful.
Please advice or provide me with a template if you have any