mortenscheel / mysqldump-filter
CLI tool to filter table data from mysqldump
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mortenscheel/mysqldump-filter
README
A CLI tool that allows filtering out data from selected tables in a .sql dump.
Installation
composer global require mortenscheel/mysqldump-filter
Usage
Example:
cat dump.sql | mysqldump-filter --skip=some_table,another_table | mysql -u username -p db_name cat dump.sql | mysqldump-filter --only=some_table,another_table | mysql -u username -p db_name
Contributions
All contributions are welcome