gitmingwrsyncmingw-w64msys2

rsync for Windows that runs with Git for Windows mingw tools


I have been using Git for Windows on my Windows 10 box. I use bash and other command line tools that come with it. I need rsync, but found it doesn't come with this package. I googled and found a mingw flavor of rsync. When I run it, it is complaining about missing zstd dll. I suspect I am mixing a tool built for one mingw environment with other.

Where can I find rsync that runs on windows as a portable exe or a version that runs as part of Git for Windows mingw environment?

Thanks for your help!


Solution

  • As stated in an earlier comments...

    Googling for "install rsync for windows" returns the following blog post: https://ayewo.com/how-to-install-rsync-on-windows/ . But that page is out of date and does not list all the requirements for more recent versions of rsync. None of the instructions are wrong though. It is just missing instructions for 'msys-crypto-3.dll' .

    'msys-crypto-3.dll' comes from the openssl package. Link to currently latest version here: https://repo.msys2.org/msys/x86_64/libopenssl-3.1.1-1-x86_64.pkg.tar.zst .

    Follow the same instructions for 'openssl' as the linked blog post instructs you to do for 'libxxhash' and 'libzstd' and it will work.