Quantcast
Viewing all articles
Browse latest Browse all 13

Answer by evilReiko for How to add more commands to Git Bash?

To get rsync for Windows 10, this guide the only one worked for me

Steps in summary:

  1. Download “mingw-get-setup.exe” from the MinGW SourceForge Project Site (http://sourceforge.net/projects/mingw/files/Installer/).

  2. Run the “mingw-get-setup.exe” and click the “Install” button. Then, navigate the left side options and select “MSYS”. Then locate and select only the “msys-rsync” bin package. Then, from the "Installation" drop down menu select “Apply Changes”.

  3. Copy the following four files from the MinGW msys bin folder “C:\MinGW\msys\1.0\bin” to the Git bin folder “C:\Program Files (x86)\Git\bin”

msys-iconv-2.dllmsys-intl-8.dllmsys-popt-0.dllrsync.exe

then in Git Bash, run the following 2 commands:

echo '/c/MinGW/msys/1.0/bin/rsync "$@"'>/usr/bin/rsyncchmod +x /usr/bin/rsync

in Git Bash, run below command to check rsync is working:

rsync --version
  1. (Optional) Delete entire C:/MinGW folder

Viewing all articles
Browse latest Browse all 13

Trending Articles