Skip to content

Instantly share code, notes, and snippets.

@tomotomo
Created March 9, 2014 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomotomo/9449627 to your computer and use it in GitHub Desktop.
Save tomotomo/9449627 to your computer and use it in GitHub Desktop.
Gitリポジトリで管理しているWordPressプラグインを
SVNリポジトリと同期しておく方法について miya0001 さんからアドバイスもらった。
rsync不勉強なので忘れないようにメモメモ
```
rsyncの時に余計なファイルを持ってかないように.bash_profileに以下のように入れとくと便利。
alias rsync="rsync -avz --exclude=\".svn\" --exclude=\".DS_Store\" --exclude=\".git\""
```
@tomotomo
Copy link
Author

tomotomo commented Mar 9, 2014

http://www.xelon.it/articles/rsync-mac-linux-windows/
これ使ってrsync最新のものをインストールしてみる

cd ~/Downlods/
やってから開始

@tomotomo
Copy link
Author

tomotomo commented Mar 9, 2014

$ rsync --version
rsync  version 2.6.9  protocol version 29
Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
              inplace, IPv6, 64-bit system inums, 64-bit internal inums

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment