Skip to content

Instantly share code, notes, and snippets.

@azurestone
Created May 14, 2012 06:25
Show Gist options
  • Select an option

  • Save azurestone/2692160 to your computer and use it in GitHub Desktop.

Select an option

Save azurestone/2692160 to your computer and use it in GitHub Desktop.
MacOSX Lion rsync ファイル名文字化け対応
# http://www.behindtherack.com/?p=308
# MacOSX Lion HFS(UTF-8-MAC)対応
curl -O http://rsync.samba.org/ftp/rsync/src/rsync-3.0.9.tar.gz
tar zxvf rsync-3.0.9.tar.gz
curl -O http://rsync.samba.org/ftp/rsync/src/rsync-patches-3.0.9.tar.gz
tar zxvf rsync-patches-3.0.9.tar.gz
cd rsync-3.0.9/
patch -p1 <patches/fileflags.diff
patch -p1 <patches/crtimes.diff
patch -p1 <patches/hfs-compression.diff
./prepare-source
./configure --prefix=${HOME}/software/rsync-3.0.9
make
make install
umeda@CNK-003 [~] $ ${HOME}/software/rsync-3.0.9/bin/rsync --version
rsync version 3.0.9 protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, file-flags
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
umeda@CNK-003 [~] $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment