db-to-sqlite
db-to-sqlite copied to clipboard
Add option for selecting tables to copy by a (regex) pattern
Besides just --all
to select all tables, --table
to select specific table, or --sql
to run a custom SQL query, it would be nice to be able to select table to copy via a regex pattern for table names. It could look something like this
db-to-sqlite "postgresql://localhost/myblog" blog.db \
--table-name-pattern "tag_\w+"
Good option to have!