backup remote files
$ rsync -C –filter=”:- .gitignore” –exclude=“/src/app/cache” –exclude=“.git” –exclude=“.gitignore” -rltuvz sample:/var/www/html ./
-C –filter=”:- .gitignore” auto-ignore files in the same way CVS does
-r recursive
-l copy symlinks
-t preserve modification time
-u skip file that are newer
-v verbose
-z compress
-n dry run
–delete 手元で消したファイルを向こう側でも消す