Skip to content

Instantly share code, notes, and snippets.

@levi730
levi730 / mysql_splitdump_v2.sh
Created July 19, 2024 16:52 — forked from m-faraz/mysql_splitdump_v2.sh
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
####