remove table form myslqdump

Posted on Categories Mysql
sed -r '/INSERT INTO (mdl_table_1|mdl_table_2)/d' myslqdump.sql | gzip > "db_reduced.sql.gz"

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.