Created
July 20, 2020 08:36
-
-
Save devzorg/c74119b3e509d3f5062cdfa0750e6612 to your computer and use it in GitHub Desktop.
Import one table from big sql file
This file contains 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.*`TABLE_TO_FIND`/,/CREATE TABLE/p' bigdump.sql > single-table-dump.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment