baiyuanneko / Converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Converter

Usage

Preparation

Firstly, clone this repository.

git clone https://github.com/baiyuanneko/Converter
cd Converter

Then, install the dependencies.

npm install

Then, create a source folder at the root directory of the repository.

mkdir source

Then, if you don't need to distinguish logs from different server

Put the log files into source/ folder as the following format.

source/2022-01-01-1.log
source/2022-01-01-2.log
source/2022-01-02-1.log
...

Then run the following command in the root directory of this repository.

npm run start

If you need to distinguish logs from different server

Put the log files into source/ folder as the following format.

source/MyServer/2022-01-01-1.log
source/MyServer/2022-01-02-1.log
source/MyServer/2022-01-02-2.log
source/MyServer2/2022-01-01-1.log
source/MyServer2/2022-01-02-1.log
...

Then run the following command in the root directory of this repository.

npm run convert

About

License:The Unlicense


Languages

Language:JavaScript 100.0%