Skip to content

Simple tool based on go-dbase library for exporting data from dBase/FoxPro databases

License

Notifications You must be signed in to change notification settings

LaKiS-GbR/go-dbase-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦊 FoxPro/dBase exporter

License Linters CodeQL

This application is a simple tool to convert data from dBase/FoxPro databases to more modern formats. It can be operated in the CLI or via web interface. It is based on the free Golang library go-dbase by LaKiS co-founder Valentin Kaiser.

Build

cd cmd/
go build -o dbase-exporter

Usage

The application can be used as a CLI tool or via the web browser.

If executed without any parameters, the application starts with web server and the export can only be executed via it. For configuration, a file is created in which the port, database path and export path can be entered.

dbase-exporter -h

Usage of dbase-exporter:
  -debug-file string
        Path to the debug file
  -debug-screen
        Log debug information to the screen
  -export string
        Path to the export folder (default "./export/")
  -format string
        Format type of the export (json, yaml/yml, toml, csv, xlsx) (default "json")
  -path string
        Path to the FoxPro/dBase database  file (DATABASE.DBC)
  -repository string
        Path to the repository folder (Used to store the uploaded files) (default "./repository")
  -run
        Run the export in cli