アップロードスクリプトの追加
This commit is contained in:
11
sync.sh
Normal file
11
sync.sh
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
SRV=192.168.0.106
|
||||||
|
RSYNCOPT="-rtvzP"
|
||||||
|
HTTPHOME=/var/www/htdocs/LittleBeast
|
||||||
|
|
||||||
|
rsync ${RSYNCOPT} *.php ${SRV}:${HTTPHOME}
|
||||||
|
rsync ${RSYNCOPT} blog ${SRV}:${HTTPHOME}
|
||||||
|
#rsync ${RSYNCOPT} config ${SRV}:${HTTPHOME}
|
||||||
|
rsync ${RSYNCOPT} src/Site/Controller ${SRV}:${HTTPHOME}/src/Site
|
||||||
|
rsync ${RSYNCOPT} view ${SRV}:${HTTPHOME}
|
||||||
Reference in New Issue
Block a user