I asked a question here about Robocopy on Windows 2003 server that Experts were really helpful on (thanks again!)
To summarise, here is the situation:
"I have a Windows 2003 server where I have an application that logs daily files. The folder is C:\Logs, and each day, a folder with the date is created and, within this, a log file with the date too.
This process continues. So, after a week, I would have folders such as:
etc, each with their own log file within.
I was planning on using this command to copy the previous day's log files;
robocopy \\server\c$\logs\\ \\server2\c$\copied\\ /maxage:2 /minage:1 /s
But, I notice that the app also creates some other files in each day's log folder that I don't need - all I need is the txt file starting with "log_<date>" - does anyone know how/if I can configure Robocopy to only copy over files that start with a certain name?