16 lines
215 B
Plaintext
16 lines
215 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
CURDate=$(date "+%Y%m%d%H%M")
|
||
|
FileName=$CURDate$DBUSER
|
||
|
DIR="./"
|
||
|
DIRAPACHE="/var/www"
|
||
|
DBHOST="" #--host=
|
||
|
if [ $# -gt 0 ] ; then
|
||
|
DIR=$1
|
||
|
echo "$1"
|
||
|
fi
|
||
|
if [ ! -d $DIR ]; then
|
||
|
mkdir $DIR
|
||
|
echo $DIR
|
||
|
fi
|