I want to copy a xml file from one remote box to a bunch of other remote boxes, but I only want it to copy the file it there is currently an existing file already in place. How can I do that?
One more question, is there a way to export out the list of only if the file exists?
You can just do it using regular DOS commands, there’s no need to resort to
cygwin:Or, if you are writing a
BASHscript forcygwin, then you can refer to this answer.