{"repo":"yaa110/nomino","free":true,"listed":false,"github":"https://github.com/yaa110/nomino","clone":"git clone https://github.com/yaa110/nomino.git","description":"Batch rename utility for developers","language":"Rust","stars":709,"topics":["rust","utility","batch-rename","command-line-tool","rustlang","regex","rename","subdirectories","files"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"nomino Batch rename utility for developers 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: - Linux 64bit - MacOS 64bit - Windows 64bit You might need to run chmod +x nomino-linux-64bit or chmod +x nomino-macos-64bit . 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 Placeholders 1. Placeholders have the format of {G:P} where G is the 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 . 1. Indices start from 0 , and {0} means the filename. 1. The capture group G 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} . 1. { and } characters could be escaped using \\ character, i.e. \\\\{ and \\\\} in cli. 1. 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 . 1. 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. Capture Groups The accepted syntax of regex pattern is Rust Regex. Consider this example: This regular expre","default_branch":null,"files":null,"tree":[],"storefront":"/r/yaa110","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yaa110/nomino/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}