How do I split the output from mysqldump into smaller files?
This bash script splits a dumpfile of one database into separate files for each table and names with csplit and names them accordingly: #!/bin/bash #### # Split MySQL dump SQL file into one file per table # based on https://gist.github.com/jasny/1608062 #### #adjust this to your case: START=”/– Table structure for table/” # or #START=”/DROP TABLE … Read more