#!/bin/bash
barkdir=/www/var/tomcat/bark/month=`date +%m`
day=`date +%d`
year=`date +%Y`
hour=`date +%k`
min=`date +%M`
dirname=$year-$month-$day-$hour-$min
mkdir $barkdir/$dirname
echo $barkdir/$dirname
cd $barkdir/$dirname
cp /www/var/tomcat/webapps/ksfulife.war .
cp /www/var/tomcat/webapps/ksfulife-client.war .