Hi!
I need some help with that. I am trying to find a script that can be capable to help me to automate the following process.
I have a server that produces certain logs with the following name and date format
rejects_20080619.csv
The files are located in a server named SERVER01 and they're under D:\logs\Service\Reports.
We keep logs for 30 days.
So here is what I need the script to do:
1. Copy the files to another server under, the server does not have any shared folder for the logs and a folder can not be shared on the server. But we can access the server via D$ admin resource since we will run that with domain admin rights. Ie. \\SERVER2\D$\Logs
2. What I need is the script to be able to copy the files in an incremental way. That mean to copy the new ones (based on date) and not all the logs for the 30 days every time.
Thanks for the help.
Start Free Trial