同步项目 rsync_xxxx.sh
#!/bin/bash
F_CODE_DIR=" /usr/local/var/www/S/xxxx"
RSYNC_PROJECT="/usr/local/var/www/S/xxxx_test"
#svn up --non-interactive --username username --password password ${F_CODE_DIR}
#chown -R nobody.nobody ${F_CODE_DIR}
rsync -av ${F_CODE_DIR}/ ${RSYNC_PROJECT}/ --exclude=upload/ --exclude=main/compile_dir/ --exclude=.svn/ --exclude=vue/ --exclude=kissy