robocopy issue and subfolders long path names
I I used robocopy many times, it copied all files during each run again. I believe that it only does copy files when spotting a difference between source and target in name, timestamp, or size. I tried this :
/NDL /NFL /S /E /COPY:DAT /PURGE /MIR /MT:8 /R:3 /W:10
Where's the problem ?
in the other hand we face a long path names issue with some subfolders that are in different places , any one have a solution that would not consume our time when copying ?
As Andro said , try to use the /FFT switch .. in the other hand don't use /W:10 /R:3 - if a file is open, now you're waiting 30 seconds for ONE file to attempt to be copied. Also, don't forget to try the /L switch which is "list-only" mode to make sure you at least have the right source and target, especially when running /MIR - if you inadvertently have the source and destination reversed, you would wipe your data before realizing it :/
... for the problem of long path names ,are they all in subdir's or spread out all over the place? Just make sure your target is set to be one level down also. Then just schedule them as separate batch files and you'll definitely cut the time down. however, if they're all over the place, creating 100+ separate jobs would be counterproductive. If they are within the same tree structure, create a batch that starts further down into the subdir, then you can exclude that in the batch file that copies the rest of the structure, if that makes sense. The switch to exclude a folder is /XD dir (so, it would look like /XD \\server\share\sub1\sub2\sub3) which will definitely shorten your path names. also if you don't need to consume much time in your issue just try to google robocopy alternatives which used before save my time like gsrichcopy360 and securecopy quest , I hope you will find your answer