Skip to content

Instantly share code, notes, and snippets.

Created February 21, 2018 09:02
  • Star 42 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save hisplan/ee54e48f17b92c6609ac16f83073dde6 to your computer and use it in GitHub Desktop.
Add rsync to git bash for windows
Copy link

rkhyd commented Jul 22, 2021

The link has expired.

Copy link

oakgary commented Jul 22, 2021

The link has expired.

A quick google search brings up these sites:

The process should be the same. Download, extract and put the .exe into a directory that is part of your PATH.
Please note that I did not verify above downloads. Use them at your own risk.

Copy link

terwer commented Apr 14, 2022

Link no longer works, just search for "rsync" in the official msys2 repo instead:
The newest version requires two additional packages to make it work: libxxhash and liblz4.
The packages are now compressed with zstd, unpack them inside git bash with zstd -d <package> or use 7zip with ZStandard support:

Thank you @fotcorn for your note, For my case I also need to download the So total of four packages

  1. rsync:
  2. libxxhash:
  3. liblzr:
  4. libzstd:

Copy four libs to the same folder, then use, to extract all of them. After that, copy folder "usr" to "C:\Program Files\Git". And it works

thanks for your good works,it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment