rn
minimal, performant mass file renamer
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install rn
choosenim install rn
git clone https://github.com/xioren/rn
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| rn | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/xioren/rn |
|---|---|
| Homepage | https://github.com/xioren/rn |
| Registry Source | nimble_official |
README
rn: r[e]n[ame]
features:
- minimal
- supports regex and glob
- shallow (default) and recursive modes
- hidden files safe (*nix)
- collision/overwrite safe
usage:
usage: rn [options] this[ that]
options:
-r, --recursive rename files recursively
-R, --regex regex match
-g, --glob glob match
-d, --dry dry run
examples:
rn "&" and
rn -r copy
rn -R "\s+" _
rn --regex "(\d+)" "image-\$1"
rn --glob --dry "*.jpeg" image
installation:
nimble install rn
notes:
- for all modes except glob, leaving out the second argument ("that") simply removes the first argument ("this") from filenames, instead of replacing.