| Crates.io | xconv |
| lib.rs | xconv |
| version | 0.1.0 |
| created_at | 2024-07-17 08:12:38.467264+00 |
| updated_at | 2024-07-17 08:12:38.467264+00 |
| description | A high-performance batch file encoding conversion tool |
| homepage | |
| repository | https://github.com/atopx/xconv |
| max_upload_size | |
| id | 1305969 |
| size | 24,121 |
xconv is a high-performance batch file encoding conversion tool written in Rust. It supports converting files or directories from one encoding to another, with a focus on speed and efficiency.
You can install xconv using cargo, the Rust package manager:
cargo install xconv
xconv -i <input_path> -o <output_path> -f <source_encoding> -t <target_encoding>
xconv -i /path/to/input_file.txt -o /path/to/output_file.txt -f UTF-8 -t GBK
xconv -i /path/to/input_dir -o /path/to/output_dir -f UTF-8 -t GBK
-i, --input: Path to the input file or directory.
-o, --output: Path to the output file or directory.
-f, --from: Source encoding.
-t, --to: Target encoding.
xconv is licensed under the MIT license. See LICENSE for more details.
Contributions are welcome! Please open an issue or submit a pull request on GitHub.