Upgrade rsync on Mac OS X (up to Mavericks)

Mac OS X at least up to Mavericks comes with rsync 2.6.9, we need to upgrade to v3 that supports iconv


Requires Xcode/cc

Partly taken from http://selfsuperinit.com/2014/01/04/an-updated-rsync-3-1-0-for-mavericks

Download latest from http://rsync.samba.org/

(with patches for MacOS, apply in the specified order)

Admin$ tar xvfz rsync-3.1.1pre1.tgz
$ tar xvfz rsync-patches-3.1.1pre1.tar.gz
$ cd rsync-3.1.1pre1
$ sudo patch -p1 <patches/fileflags.diff
$ sudo patch -p1 <patches/crtimes.diff
$ sudo patch -p1 <patches/hfs-compression.diff
$ sudo ./configure
$ sudo make
$ sudo make install

see "both" below

Using Homebrew

as Admin:

see "both" below


see also


rsync (last edited 2014-05-21 16:07:46 by JaumeSola)