Powershell and Robocopy - Failed files
hello,
i working on powershell script move websites 1 server another. 1 of steps copying data, , use robocopy that.
i wanted ask if know how can check if files have been copied correctly, or if there has been error of them.
right save log files, need check manually summary of log check if of files copied, , proceed.
each of failed file has line on log saying "the filename, directory name, or volume label syntax incorrect.". parse log searching line, think there must easier (and 'cleaner') solution!
thank much!
cheers
hi,
the following blog helpful on checking robocopy log , statuses:
more related series:
best regards
dale
please remember click “mark answer” on post helps you, , click “unmark answer” if marked post not answer question. can beneficial other community members reading thread. ”
Windows Server > Windows PowerShell
Comments
Post a Comment