All Projects → yaa110 → Nomino

yaa110 / Nomino

Licence: other
Batch rename utility for developers

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Nomino

diskusage
FANTASTIC SPEED utility to find out top largest folders/files on the disk.
Stars: ✭ 64 (-77.3%)
Mutual labels:  files, utility, command-line-tool
Xioc
Extract indicators of compromise from text, including "escaped" ones.
Stars: ✭ 148 (-47.52%)
Mutual labels:  command-line-tool, regex
Georaptor
Python Geohash Compression Tool
Stars: ✭ 143 (-49.29%)
Mutual labels:  command-line-tool, utility
sortr.py
sort files using python
Stars: ✭ 15 (-94.68%)
Mutual labels:  files, utility
Github Files Fetcher
Download a specific folder or file from a GitHub repo through command line
Stars: ✭ 73 (-74.11%)
Mutual labels:  command-line-tool, files
Simpleaudioindexer
Searching for the occurrence seconds of words/phrases or arbitrary regex patterns within audio files
Stars: ✭ 100 (-64.54%)
Mutual labels:  command-line-tool, regex
Gitlab Cli
Create a merge request from command line in gitlab
Stars: ✭ 224 (-20.57%)
Mutual labels:  command-line-tool, utility
K2tf
Kubernetes YAML to Terraform HCL converter
Stars: ✭ 477 (+69.15%)
Mutual labels:  command-line-tool, utility
wifiqr
Create a QR code with your Wi-Fi login details
Stars: ✭ 207 (-26.6%)
Mutual labels:  utility, command-line-tool
gee
🏵 Gee is tool of stdin to each files and stdout. It is similar to the tee command, but there are more functions for convenience. In addition, it was written as go
Stars: ✭ 65 (-76.95%)
Mutual labels:  utility, command-line-tool
Infinite-File-Curtailer
Curtail is a utility program that reads stdin and writes to a file bound by size.
Stars: ✭ 23 (-91.84%)
Mutual labels:  utility, command-line-tool
Linkify Markdown
🚀 A cli tool which automatically add references to issues, pull requests, user mentions and forks to a markdown file.
Stars: ✭ 67 (-76.24%)
Mutual labels:  command-line-tool, files
Text Minimap
Generate text minimap/preview using Braille Patterns
Stars: ✭ 21 (-92.55%)
Mutual labels:  command-line-tool, utility
Endlines
Easy conversion between new-line conventions
Stars: ✭ 112 (-60.28%)
Mutual labels:  command-line-tool, utility
Ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Stars: ✭ 28,564 (+10029.08%)
Mutual labels:  command-line-tool, regex
Grex
A command-line tool and library for generating regular expressions from user-provided test cases
Stars: ✭ 4,847 (+1618.79%)
Mutual labels:  command-line-tool, regex
Musoq
Use SQL on various data sources
Stars: ✭ 252 (-10.64%)
Mutual labels:  utility, files
Remarshal
Convert between CBOR, JSON, MessagePack, TOML, and YAML
Stars: ✭ 421 (+49.29%)
Mutual labels:  command-line-tool, utility
dotfiles
dotfiles symbolic links management CLI
Stars: ✭ 156 (-44.68%)
Mutual labels:  utility, command-line-tool
json2xml
json to xml converter in python3
Stars: ✭ 76 (-73.05%)
Mutual labels:  utility, command-line-tool

nomino

Test Download Wiki

Batch rename utility for developers

Alt text

How to install

Pre-Compiled

You can download a pre-compiled executable for Linux, MacOS and Windows operating systems, then you should copy that executable to a location from your $PATH env:

You might need to run chmod +x nomino-linux-64bit or chmod +x nomino-macos-64bit.

Arch Linux

You can use nominoAUR package to install nomino in Arch Linux.

The nominoAUR package depends on rust package, if you have installed rust using rustup, then use makepkg -dsi to install it by ignoring dependencies.

Build Manually

If you prefer to build nomino manually, or a pre-compiled executable is not provided for your target, then you can build nomino from scratch:

  • Install Rust: curl -sSf https://sh.rustup.rs | sh
  • Run cargo install nomino

Usage

USAGE:
    nomino [FLAGS] [OPTIONS] [OUTPUT]

FLAGS:
    -e, --extension    Preserves the extension of input files in 'sort' and 'regex' options
    -h, --help         Prints help information
    -k, --mkdir        Recursively creates all parent directories of '<OUTPUT>' if they are missing
    -w, --overwrite    Overwrites output files, otherwise, a '_' is prepended to filename
    -p, --print        Prints the map table to stdout
    -t, --test         Runs in test mode without renaming actual files
    -V, --version      Prints version information

OPTIONS:
    -d, --dir <PATH>         Sets the working directory
    -g, --generate <PATH>    Stores a JSON map file in '<PATH>' after renaming files
    -m, --map <PATH>         Sets the path of map file to be used for renaming files
    -r, --regex <PATTERN>    Regex pattern (RE2 syntax) to match by filenames
    -s, --sort <ORDER>       Sets the order of natural sorting (by name) to rename files using enumerator [possible values: ASC, DESC]

ARGS:
    <OUTPUT>    Output pattern to be used for renaming files

Map file format

{
    "<input1>": "<output1>",
    "<input2>": "<output2>",
    "<...>": "<...>"
}

Output

The output is necessary when using --sort or --regex options.

Regex

The accepted syntax of regex pattern is RE2.

Placeholders

  1. Placeholders have the format of {I:P} where I is the index of captured group and P is the padding of digits with 0. For example, {2:3} means the third captured group with a padding of 3, i.e. 1 is formatted as 001.
  2. Indices start from 0, and {0} means the filename.
  3. The index I could be dropped, i.e. {} or {:3}. In this case an auto incremental index is used which starts from 1. For example, {} {} equals {1} {2}.
  4. { and } characters could be escaped using \ character, i.e. \\{ and \\} in cli.
  5. Padding is only used for positive numbers, e.g. the formatted result of {:3} for 1 is 001, for -1 is -1 and for a is a.
  6. If --sort option is used, the first index {0} is the filename and the second index {1} or first occurrence of {} is the enumerator index.

Wiki

  • Examples learn nomino by examples
  • Benchmark benchmark test of similar utilities to nomino
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].