I am trying to write a script which will essentially copy and file in a certain folder to a folder on another computer. My first thought was SCP, but I don't know if I can automate SCP by adding a password to the command(from what I have heard this is not possible, or very difficult).
So basically I am trying set up a folder on a mac or linux box which will accept files without prompting for a password (or it can get a password which I can send through a script).
I am sure there is an easy way to do this right?