Created
January 7, 2014 11:40
-
-
Save optroodt/8298148 to your computer and use it in GitHub Desktop.
Extract single table from mysql dump file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -n -e '/CREATE TABLE.*tablename/,/CREATE TABLE/p' database.sql > table.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment