Splitter un dump mysql avec Bash, en 1 dump par table

Script en Bash, qui découpe un dumpSQL en un seul fichier pour le découper en 1 par table #!/bin/bash file=$1 # the input file directory= »$file-splitted » # the output directory output= »$directory/header » # the first file containing the header GREP= »DROP TABLE » # what we are looking for mkdir $directory # create the output directory while read line […]