Allow resuming if network connection is lost and limit retries to 5 and wait time to 15 sec

robocopy

  • Robust File and Folder Copy.
    By default files will only be copied if the source and destination have different time stamps or different file sizes.
    More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/robocopy>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

robocopy {{path/to/source}} {{path/to/destination}} /Z /R:5 /W:15

click the source code to copy