Want to import data from multiple TXT (“|” pipe delimited text) files into 1 MongoDB collection?
Using Withdata File To DB, a MongoDB TXT importer for Windows, MacOS, and Linux, you can import data from multiple TXT (“|” pipe delimited text) files into a single MongoDB collection in one go, easily 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.
- Support all MongoDB deployment types: standalone, replica set, sharded cluster, and MongoDB Atlas.
Download FileToMongo
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
Import multiple TXT (“|” pipe delimited text) files into a single MongoDB collection
Login to MongoDB -> Choose TXT files -> Set MongoDB collection options. -> Import multiple TXT files into a single MongoDB collection
Start FileToMongo, connect to MongoDB.
Click “N File To 1 Collection” at task dialog.
Select the “TXT” file type.
1. Open a folder contains TXT (“|” pipe delimited text) files.
2. Set TXT (“|” pipe delimited text) options.
3. Set MongoDB collection options.
4. Preveiw data will be in MongoDB.
5. Import multiple TXT (“|” pipe delimited text) files to a single MongoDB collection.
After importing, you can view imported data in MongoDB.
Import multiple TXT (“|” pipe delimited text) files to a single MongoDB collection in command line
Save “TXT to MongoDB” session, then you can:
- Import multiple TXT (“|” pipe delimited text) files to a single MongoDB collection in Windows command line.
- Import multiple TXT (“|” pipe delimited text) files to a single MongoDB collection in Linux command line.
- Import multiple TXT (“|” pipe delimited text) files to a single MongoDB collection in macOS command line.
Set scheduled tasks for importing multiple TXT (“|” pipe delimited text) files to a single MongoDB collection
You can schedule and automate this ” TXT to MongoDB” conversion task by:
1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.