Mirror/Backup from SSH/SFTP to Windows
- by Andrew Russell
What I am trying to do is mirror a directory (recursively) from a server I can SSH/SFTP to, to a Windows machine. I want to do this as part of a script, so it can be automated.
I only want to copy new or modified files. I don't want to have to download all the files every time the script runs.
In other words, I'm trying to get the equivalent of RoboCopy /MIR that will work using SFTP as a source.
What would you recommend?