OSDN Git Service

[add]スコアサーバ用ファイル群アップロードスクリプト
[hengband/web.git] / score / tools / upload.sh
diff --git a/score/tools/upload.sh b/score/tools/upload.sh
new file mode 100644 (file)
index 0000000..54f5dda
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# スコアサーバに必要なファイル群をWebサーバホストにアップロードする
+#
+# 使い方の例:
+#   scoreディレクトリにおいて、
+#   $ sh tools/upload.sh ./ shell.osdn.jp:/home/groups/h/he/hengband/htdocs/score/
+#
+
+eval rsync -amvz --exclude=FeedWriter --include=*.php --include=*.js --include=*.inc --include=.htaccess --include=*.gif --include=*.css --include=*.py --include=*/ --exclude=* $1 $2