Skip to content

Instantly share code, notes, and snippets.

@m-faraz
m-faraz / mysql_splitdump_v2.sh
Last active July 19, 2024 16:52
Split MySQL dump SQL file into one file per table
#!/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
####
####
# This version modified from https://gist.github.com/jasny/1608062
####