Last active
September 10, 2018 12:22
-
-
Save anujkaushal/564ae3d42ae9f8129cf1fd617b5803f3 to your computer and use it in GitHub Desktop.
Remove database name from db-dump 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
grep -v "USE \`db_name\`" database.sql > database-without-name.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment