Skip to content

Instantly share code, notes, and snippets.

@m-faraz
m-faraz / mysql_splitdump_v2.sh
Last active February 2, 2024 12:50
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
####