Dit zou in een shell moeten werken:
for x in `mysql --skip-column-names -u [username] -p[password] [dbname] -e 'show tables;'`; do
mysqldump -u [username] -p[password] [db name] $x > "$x.sql"
done
Dit zou in een shell moeten werken:
for x in `mysql --skip-column-names -u [username] -p[password] [dbname] -e 'show tables;'`; do
mysqldump -u [username] -p[password] [db name] $x > "$x.sql"
done