PostgreSQL import multiple TXT files into a single table

by

Want to import multiple TXT files into a single PostgreSQL table?

Try Withdata FileToDB, a desktop TXT to PostgreSQL converter for Windows, MacOS, and Linux, Convert TXT to PostgreSQL, Easy and Fast.

  • Can run in GUI mode, Step by Step, just a few mouse clicks.
  • Can run in Command line, for Scheduled Tasks and Streams.
  • Convert locally and privately, avoid uploading large or private TXT files to online services.
  • Support Windows, Linux, and macOS.

Download FileToDB Download FileToDB

Import multiple TXT files into a single PostgreSQL table

Login to PostgreSQL -> Choose TXT files -> Set PostgreSQL table -> Import TXT files to PostgreSQL table

Choose PostgreSQL and logon.

import multiple TXT files to 1 PostgreSQL table - Choose PostgreSQL and logon

Click “Wizard – N Files To 1 Table” at task dialog.

import multiple TXT files to 1 PostgreSQL table - task window

Select the “TXT” file type.

load multiple TXT files to 1 PostgreSQL table - select file type

then show the wizard.

1. Select a folder that constains TXT files.

Support large ( > 4GB ) TXT files.

insert multiple TXT files to one PostgreSQL table - select a folder

2. Config first TXT file importing options.

import multiple TXT files to one PostgreSQL table - config first file

3. Select a PostgreSQL table and config fields.

Merge TXT files into a PostgreSQL table - select table

4. Preview data will be in PostgreSQL table.

put TXT files into a single PostgreSQL table - preview

5. Import multiple TXT files to the PostgreSQL table.

Merge TXT files into a PostgreSQL table - import data

View imported data in PostgreSQL table

load TXT files into a PostgreSQL table - view data

Import multiple TXT files to PostgreSQL in command line

Save “multiple TXT files to PostgreSQL” session, then you can:

Set scheduled tasks for importing multiple TXT files to PostgreSQL

You can schedule and automate this converting task by:

  1. Save session and create .bat (Windows) or .sh (Linux/macOS) file for “TXT to PostgreSQL” conversion.
  2. Set scheduled task for “TXT to PostgreSQL” conversion.

FAQ


More about Withdata FileToDBTXT to PostgreSQL converter

See also: