spip2md/init.sh

4 lines
94 B
Bash
Executable File

#!/bin/sh
sudo mysql < init.sql
mysql --user=spip --password=password spip < $(realpath "$1")