mkdir /home/mento/www
#!/bin/bash TODAY=`date "+%u-%a"` BACKUP="/home/mento/www" PDUMPFS="/usr/bin/pdumpfs --quiet --exclude=/tmp/ --log-file=$BACKUP/log_$TODAY" BASENAME="/usr/bin/basename" DIRS="/var/www/hostname" ulimit -e 5 for d in $DIRS do DIR=`$BASENAME $d` /bin/echo $DIR $PDUMPFS $d "$BACKUP/$DIR" done /bin/sync exit 0