A lightweight command-line utility designed to execute Lua scripts on files matching specific regex patterns.
It is recommended to download the pre-built binaries from the GitHub Releases page. However, if you prefer to build from source:
- Install Rust and Cargo.
- Clone this repository:
git clone https://github.com/YOUR_USERNAME/zmina.git. - Build the project using Cargo:
cargo build --release. - Add the resulting binary to your
PATH.
- Regex Support: Filter files using powerful regular expressions.
- Embedded Lua Engine: Flexible file manipulation using Lua scripts.
- Data Safety: Automatic backups created before any modifications.
- High Performance: Built with multi-threading and asynchronous I/O support.
- Prepare a Lua script (see an example here).
- Execute the command:
zmina --path <directory_path> --pattern <regex_pattern> --script <lua_script_path>
- Use the
--helpflag to see all available commands and options.
This project is licensed under the MIT License. See the LICENSE file for details.