Skip to content

Instantly share code, notes, and snippets.

View tmirks's full-sized avatar
💻
⎈⎈⎈

Tim Mirecki tmirks

💻
⎈⎈⎈
View GitHub Profile
#!/bin/bash
####
# Split MySQL dump SQL file into one file per table
# based on http://blog.tty.nl/2011/12/28/splitting-a-database-dump
####
if [ $# -lt 1 ] ; then
echo "USAGE $0 DUMP_FILE [TABLE]"
exit