I am trying to copy files from a folder on a server using a batch file, however, I don't want the files in the destination folder to be overwritten. This is what I have:
set /p address=ip address:
pause
pscp -pw "password" "username"@%address%:/folder path/* c:\folderpath
This works, however, when it runs it overwrites the files in the destination folder. Is there a way to make it skip over the files that are already in the destination folder?