Skip to content

Instantly share code, notes, and snippets.

@iammart
Created June 2, 2015 07:54
Show Gist options
  • Save iammart/a90fd99a8326a56a103a to your computer and use it in GitHub Desktop.
Save iammart/a90fd99a8326a56a103a to your computer and use it in GitHub Desktop.
Extracting a table & data from a MySQL dump
$ sed -n "/^-- Table structure for table \`emails\`/,/^-- Table structure for table/p" DUMP.sql > DUMP-table.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment