https://github.com/jonthysell/asciirename
Transliterate Unicode filenames into ASCII equivalents.
https://github.com/jonthysell/asciirename
ascii filename-utils filenames tool unicode
Last synced: 3 months ago
JSON representation
Transliterate Unicode filenames into ASCII equivalents.
- Host: GitHub
- URL: https://github.com/jonthysell/asciirename
- Owner: jonthysell
- License: mit
- Created: 2022-08-23T23:42:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-05T03:21:13.000Z (9 months ago)
- Last Synced: 2025-01-15T18:25:03.928Z (5 months ago)
- Topics: ascii, filename-utils, filenames, tool, unicode
- Language: C
- Homepage:
- Size: 595 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# AsciiRename #
[](https://github.com/jonthysell/AsciiRename/actions/workflows/ci.yml)
AsciiRename is a small command-line tool for renaming files with Unicode filenames into transliterated ASCII equivalents.
It was made primarily to assist with managing media files destined for devices with no/limited support for Unicode filenames.
AsciiRename relies on [AnyAscii](https://github.com/anyascii/anyascii) to perform the transliteration and [libpu8](https://github.com/jofeu/libpu8) to build cross-platform on both Windows and Linux systems.
## Installation ##
### Windows ###
The Windows release provides self-contained x86/x64 binaries which run on Windows.
1. Download the latest Windows zip file from https://github.com/jonthysell/AsciiRename/releases/latest
2. Extract the zip file**Note:** If you're unsure which version to download, try x64. Most modern PCs are 64-bit.
### MacOS ###
The MacOS release provides self-contained x64 binaries which run on OSX.
1. Download the latest MacOS tar.gz file from https://github.com/jonthysell/AsciiRename/releases/latest
2. Extract the tar.gz file### Linux ###
The Linux release provides self-contained x64 binaries which run on many Linux distributions.
1. Download the latest Linux tar.gz file from https://github.com/jonthysell/AsciiRename/releases/latest
2. Extract the tar.gz file## Usage ##
```none
Usage: ascii-rename [options...] [paths...]
-h, --help Show this help and exit
-n, --no-op Show what would happen but don't actually rename path(s)
-o, --overwrite Overwrite existing paths(s)
-r, --recursive Rename files and subdirectories recursively
-v, --verbose Make the output more verbose
-V, --version Show version number and exit
```## Build ##
This project requires CMake >= 3.16 and a standard C++ build environment.
### Windows (VS) ###
Open VS Command Prompt, then run one of the following:
* Build Debug: `.\scripts\build-debug.cmd`
* Build Release: `.\scripts\build-release.cmd`### Linux (GCC) / MacOS (AppleClang) ###
* Build Debug: `./scripts/build-debug.sh`
* Build Release: `./scripts/build-release.sh`### General ###
```
mkdir build
cd build
cmake ..
cmake --build .
```## Errata ##
AsciiRename is open-source under the MIT license.
Copyright (c) 2022-2024 Jon Thysell
AnyAscii Copyright (c) 2020-2023, Hunter WB
libpu8 Copyright (c) 2019, jofeu