9 lines
131 B
Bash
9 lines
131 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
myDir=$(dirname $0)
|
||
|
|
||
|
for file in $myDir/changes/*/*.sql; do
|
||
|
echo "Importing $file"
|
||
|
mysql -u root < $file
|
||
|
done
|