An open API service indexing awesome lists of open source software.

https://github.com/soxoj/1c-database-converter

Converts binary files of 1C (1CD, cf, epf, efd, etc.) to grepable CSV
https://github.com/soxoj/1c-database-converter

Last synced: 8 months ago
JSON representation

Converts binary files of 1C (1CD, cf, epf, efd, etc.) to grepable CSV

Awesome Lists containing this project

README

          

# 1C database converter

1C is a very popular program in CIS countries for storing data in enterprises (accounting, document management, etc.).

The purpose of this tool is to extact and export to CSV content of `1CD` and other 1C files.

**Attention!** Not all content can be converted to text. Use 1C [official software](https://online.1c.ru/catalog/programs/program/18610119/) to explore binary data.

## Usage

```sh
$ python3 -m onec_database_converter

# or simply

$ onec_database_converter

# or locally without installing

$ ./run.py
```

Specify files one or more times:
```sh
$ onec_database_converter conf.cf 8-2-14.1CD
Target: conf.cf
Results found: 1
1) Out Dir: conf.cf_unpack
File Type: container
Status: Exported content of container file

------------------------------
Target: 8-2-14.1CD
Results found: 1
1) Out Dir: 8-2-14.1CD_csv
File Type: 1CD
Status: Exported content of 1CD file

------------------------------
Total found: 2
```

Or use a file with files list:
```sh
$ onec_database_converter --target-list files.txt
```

Or combine tool with other through input/output pipelining:
```sh
$ cat list.txt | onec_database_converter --targets-from-stdin
```

## Installation

Make sure you have Python3 and pip installed.

Manually

1. Clone or [download](https://github.com/soxoj/osint-cli-tool-skeleton/archive/refs/heads/main.zip) respository
```sh
$ git clone https://github.com/soxoj/osint-cli-tool-skeleton
```

2. Install dependencies
```sh
$ pip3 install -r requirements.txt
```

As a the package

You can clone/download repo and install it from the directory to use as a Python package.
```sh
$ pip3 install .
```

Also you can install it from the PyPI registry:
```sh
$ pip3 install https://github.com/soxoj/osint-cli-tool-skeleton
```