@WrCombs said in Automation thought:
@scottalanmiller said in Automation thought:
@WrCombs said in Automation thought:
@JasGot said in Automation thought:
Sure, and consider Robocopy so you have the ability to handle open files, timeout, and logging; and transfer with a multithreaded tool.
Here one we use almost daily:
We run this command on the destination server.robocopy "\\server\d$\data files" "d:\Shares\data" /E /R:0 /W:0 /NFL /NDL /log+:d:\DATA-log.txt
Robocopy? never looked into it.
But I will, Thanks !This is how Robocopy works...
You spend X years using Windows and never hear of it. Then one day someone says "Wait, what? You don't use Robocopy like every day?"
And then from then on, you use it non-stop for everything and wonder how there are any people not using it.
It was 2004 when I was first introduced to it and it was like "OMG, how is this not more standard!?!?!" It didn't used to be built into Windows, you had to add it. Linux has SCP/SFTP that handle the same tasks and the UNIX world had long mocked Windows for lacking the same. It took forever for them to make Robocopy part of the base OS, but it's in there now and you should use it constantly.
I'll be using it more absoulutely
While testing, don't forget about the /L option. Much better to see what happens before it actually does.