pgloader

Data loading tool that migrates data into PostgreSQL from various sources

brewmacoslinux
Try with needOr install directly
Source

About

Data loading tool for PostgreSQL

Commands

pgloader

Examples

Load data from a CSV file into a PostgreSQL table$ pgloader --type csv --fields id,name,email data.csv postgresql://user:pass@localhost/dbname
Migrate an entire MySQL database to PostgreSQL$ pgloader mysql://user:pass@localhost/source_db postgresql://user:pass@localhost/target_db
Load data from a SQLite database into PostgreSQL$ pgloader sqlite:///path/to/database.db postgresql://user:pass@localhost/target_db