Home » Tips & Tricks » MS Windows » Linux has rsync, Windows has….. robocopy?

Linux has rsync, Windows has….. robocopy?

 I love me some rsync, toss in some ssh and there’s nothing I can’t do.

So imagine my frustration when I had to use my Windows 7 laptop to download a bunch of large files from a slow network share, across a VPN tunnel. After about the 4th try I was ready to snap.

This lead to tons of searches for “network share download managers” and “resume download network share”. Finally I stumbled across an application, already built into Windows 7 (might be in other versions, I have no idea, I’m not a Windows guy)…Robocopy!

Robocopy can resume, mirror directories and do alot of other pretty cool stuff. There are many sites dedicated to it so you can find all the documentation you want on Google. I just have a few snippets here to show my usage.

This command (modified to be easy to understand) allows the download/sync to be resumed (thanks to /Z)
robocopy \Server1folder1folder2 d:myfolder1 /Z

It would also work copying from my PC to the share:
robocopy d:myfolder1 \Server1folder1folder2  /Z

You could even do this is you wanted to mirror (danger can delete files on either side if the folder contents do not match):
robocopy \Server1folder1folder2 d:myfolder1 /Z /MIR

Again, I’m not a Windows guy, but you know sometimes you have no choice, so it pays to have a few tricks up your sleeve.

Was this helpful?
If you found my posts interesting, or I helped you figure something out, please consider tossing me a tiny gratuity for my time, research, to help offset the web hosting/development costs or to buy me a cup of coffee.

* This post may contain affiliate links. This means that I “might” receive a tiny amount of money, if you make a purchase using one of our links. It does not cost you anything extra, and helps us defray the costs of hosting and maintaining this site.

One comment

  1. nice article

Leave a Reply