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

https://github.com/mielek/text-file-transcoder

Text file Transcoder is a simple console application to transcode text files.
https://github.com/mielek/text-file-transcoder

command-line-tool file java text transcode

Last synced: 10 months ago
JSON representation

Text file Transcoder is a simple console application to transcode text files.

Awesome Lists containing this project

README

          

# Text file Transcoder

Text file Transcoder is a simple console application to transcode text files.

## Installation

Installation require:
- Java 8+
- JAVA_PATH set to jdk location
- Maven 3+
- PATH need to contain maven location

Installation steps:
```
git clone https://github.com/Mielek/text-file-transcoder.git
cd text-file-transcoder
mvn clean compile
```

To create runnable jar file:
```
mvn package
```

## Usage

You can run application from jar file or directly from maven. This examples are based on maven execution.

##### Help
```
mvn exec:java -Dexec.args="--help"
```

##### Lists charsets
```
mvn exec:java -Dexec.args="--list-charset"
```

##### Transcoding example
```
mvn exec:java -Dexec.args="-f test-file.txt -d Cp1250 -r result-file.txt -e UTF-8"
```

## Credits

Created by Rafal Mielowski.