#!/bin/bash XOOPS_ROOT_PATH=/data/www/nimg.neuroinf.jp/html DATADIR=$(dirname $0)/data SRCDIR=${XOOPS_ROOT_PATH}/modules/brainexplorer/data/MRI DESTDIR=${DATADIR}/public/modules/brainexplorer/data/m3d mkdir -p ${DESTDIR} rsync -av --delete ${SRCDIR}/ ${DESTDIR}/ SRCDIR=${XOOPS_ROOT_PATH}/modules/be2/data/g3d DESTDIR=${DATADIR}/public/modules/brainexplorer/data/g3d mkdir -p ${DESTDIR} rsync -av --delete ${SRCDIR}/ ${DESTDIR}/