Cygwin is a collection of tools that provide a Linux look and feel environment for Windows. If you install it, you can use linux commands and services on Windows.
Install Cygwin: Instructions are here - http://cygwin.com/
Install package manager for cygwin called apt-cyg:
lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
install apt-cyg /bin
Install rsync and other dependencies:
apt-cyg install rsync
apt-cyg install curl
apt-cyg install wget
apt-cyg install openssh
apt-cyg install dos2unix
apt-cyg install perl
Modify the bash prompt to display the current git branch name:
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh -o ~/.git-prompt.sh
Edit .bashrc;
source ~/.git-prompt.sh
RED='\e[0;31m'
GREEN='\e[0;32m'
YELLOW='\e[0;33m'
BLUE='\e[0;34m'
CYAN ='\e[0;36m'
WHITE='\e[0;37m'
PS1="\[$GREEN\]\t\[$RED\]-\[$BLUE\]\u\[$YELLOW\]\[$YELLOW\]\w\[\033[m\]\[$CYAN\]\$(__git_ps1)\[$WHITE\]\$ "
Test rsync:
rsync -ah --progress --compress-level=0 --inplace /cygdrive/c/Users/boylef/dev/sn_68f5/trunk/assets/widgets/image_with_slider/ /cygdrive/c/Users/boylef/Documents/tmp
Setting the HOME dir for Cygwin to open at c/Users/ (like Git Bash):
in etc/nsswitch.conf, edit/add this line:
db_home: /%H