I need a script that can copy files from one UNC path to another. This will be running from an intermediary server and copying from one remote server to another.
I also need to specify specific files with wildcards at the end, example "ServerName_Filename_Full_*". This is going to be a list of files, currently 51 different files.
And I also need the files that are only 1 day old as there will be multiples that start with the same name. The list of files can either come from a separate text file that I can feed inline to the script, or within the script itself.
I'm finding some examples of how to copy from one UNC path to another, etc., but having a hard time putting all of these pieces together. If it's easier, I can use robocopy here as well. Thanks