rsync、サネヘム、キ、ソ・ミ・テ・ッ・「・テ・ラ

#!/bin/sh
# ------------------------
# sync script
# ------------------------
# Version : 1.0
# update  : 2007.12.27

export LANG=C
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

# Set 

if [ -d $1 ]; then
 INPATH=$1
else
 echo "ERR : input dir not found"
 echo "USE : ./sync.sh INPUT OUTPUT" 
 exit 0
fi

if [ -d $2 ]; then
 OUTPATH=$2
else
 echo "ERR : output dir not found"
 echo "USE : ./sync.sh INPUT OUTPUT" 
 exit 0
fi

# Exec

rsync -a --delete --stats $INPATH $OUTPATH


# EOF

・ネ・テ・ラ   ソキオャ ーヘ ク。コ コヌスェケケソキ   ・リ・・ラ   コヌスェケケソキ、ホRSS