#!/bin/bash
#sudo rsync -avtnp --include "library/coremodule/accordion/resources/images/default/*" --include "library/coremodule/accordion/resources/images/default/layout/*" --include "*.swf" --include "img/accept.png" --include "img/ajax-loader.gif" --include "img/flag*" --include "library/common/language/*" --include "*.php" --include "*.css" --include "*.js" --include "admin/weatherdata/*" --include "library/coremodule/columNav/images/*" --exclude "workspace/" --include "*/" --exclude "*" --delete blog/ /Users/ymlab/Sites/blogtest/
sudo rsync -avtp --exclude "workspace/*" --exclude "*.xml" --exclude "*.dat" --exclude "blogdoc/"  --include "db/diary.php" --exclude "db/" --exclude ".htaccess" --exclude ".htpasswd" --exclude "img/blogtitleimage*" --exclude "ssaptnemmoc.php" --exclude "*.ini" --delete blog/ /Users/ymlab/Sites/blogtest/
echo "-----------------------------------------"
echo "db/diary.php etc... is ignored........\n"
echo "-----------------------------------------"
#上と全く同じ内容にする.石津小学校用
#sudo rsync -avtp --include "library/coremodule/accordion/resources/images/default/*" --include "library/coremodule/accordion/resources/images/default/layout/*" --include "*.swf" --include "img/accept.png" --include "img/ajax-loader.gif" --include "img/flag*" --include "library/common/language/*" --include "*.php" --include "*.css" --include "*.js" --include "admin/weatherdata/*" --include "library/coremodule/columNav/images/*" --exclude "workspace/" --include "*/" --exclude "*" --delete blog/ /Library/WebServer/Documents/ishizu/
