Guest User

Untitled

a guest
Nov 15th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. sed -n -e '/DROP TABLE.*`mytable`/,/UNLOCK TABLES/p' mydump.sql > tabledump.sql
  2. sed -n -e 's/`mytable`/`mytable_restored`/g' tabledump.sql > mytable_restored.sql
Add Comment
Please, Sign In to add comment