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.
- Host: GitHub
- URL: https://github.com/mielek/text-file-transcoder
- Owner: Mielek
- Created: 2018-03-16T17:49:40.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-14T22:13:52.000Z (almost 8 years ago)
- Last Synced: 2025-02-15T21:18:07.202Z (12 months ago)
- Topics: command-line-tool, file, java, text, transcode
- Language: Java
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.