sed -n -e '/DROP TABLE.*`table_name`/,/UNLOCK TABLES/p' dump.sql > table_name.sql
Source: https://ruleoftech.com/2019/restore-single-table-from-full-mysql-database-dump
sed -n -e '/DROP TABLE.*`table_name`/,/UNLOCK TABLES/p' dump.sql > table_name.sql
Source: https://ruleoftech.com/2019/restore-single-table-from-full-mysql-database-dump