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

v0.2 2022-08-07 11:56 UTC

This package is auto-updated.

Last update: 2025-09-20 18:35:36 UTC


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