fin backSQL;debut backapache

This commit is contained in:
adri
2017-12-13 15:45:30 +01:00
parent 17b678f06b
commit 3e47cdaeec
5 changed files with 160 additions and 2 deletions

15
back Normal file
View File

@@ -0,0 +1,15 @@
#!/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