Download the package: http://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/rsync-3.1.2-2-x86_64.pkg.tar.xz
Extract it and move rsync.exe
to %HOMEDRIVE%%HOMEPATH%\AppData\Local\Programs\Git\usr\bin
.
Download the package: http://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/rsync-3.1.2-2-x86_64.pkg.tar.xz
Extract it and move rsync.exe
to %HOMEDRIVE%%HOMEPATH%\AppData\Local\Programs\Git\usr\bin
.
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.
Link no longer works, just search for "rsync" in the official msys2 repo instead: http://repo.msys2.org/msys/x86_64/
The newest version requires two additional packages to make it work:libxxhash
andliblz4
.
The packages are now compressed with zstd, unpack them inside git bash withzstd -d <package>
or use 7zip with ZStandard support: https://github.com/mcmilk/7-Zip-zstd/releasesThank you @fotcorn for your note, For my case I also need to download the http://repo.msys2.org/msys/x86_64/libzstd-1.4.8-1-x86_64.pkg.tar.zst. So total of four packages
- rsync: http://repo.msys2.org/msys/x86_64/rsync-3.2.3-1-x86_64.pkg.tar.zst
- libxxhash: http://repo.msys2.org/msys/x86_64/libxxhash-0.8.0-1-x86_64.pkg.tar.zst
- liblzr: http://repo.msys2.org/msys/x86_64/liblz4-1.9.3-1-x86_64.pkg.tar.zst
- libzstd: http://repo.msys2.org/msys/x86_64/libzstd-1.4.8-1-x86_64.pkg.tar.zst
Copy four libs to the same folder, then use https://github.com/mcmilk/7-Zip-zstd/releases, 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!
thx, this save me.
but need to udpate links, some links return 404 now.
https://repo.msys2.org/msys/x86_64/rsync-3.3.0-1-x86_64.pkg.tar.zst
https://repo.msys2.org/msys/x86_64/libxxhash-0.8.2-1-x86_64.pkg.tar.zst
https://repo.msys2.org/msys/x86_64/liblz4-1.10.0-1-x86_64.pkg.tar.zst
https://repo.msys2.org/msys/x86_64/libzstd-1.5.6-1-x86_64.pkg.tar.zst
if report following error:
error while loading shared libraries: msys-crypto-3.dll: cannot open shared object file: No such file or directory
download this file.
https://repo.msys2.org/msys/x86_64/libopenssl-3.3.2-1-x86_64.pkg.tar.zst
BTW, all these .zst file can be extracted by 7-zip directly.
The link has expired.