#!/bin/bash
datafile=`date | awk '{print $1,$2,$3}' | sed 's/年 /-/g' | sed 's/月 /-/g'| sed 's/日//g'`
echo ""
echo "$datafile"
echo ""
mysqldump -u mythtv -p mythconverg > $datafile.sql
echo ""
ls ./*.sql
— posted by くま at 11:58 am TrackBack [0]
Comments