Skip to content

BRamil0/Zmina

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zmina

Українська

Description

A lightweight command-line utility designed to execute Lua scripts on files matching specific regex patterns.

Installation

It is recommended to download the pre-built binaries from the GitHub Releases page. However, if you prefer to build from source:

  1. Install Rust and Cargo.
  2. Clone this repository: git clone https://github.com/YOUR_USERNAME/zmina.git.
  3. Build the project using Cargo: cargo build --release.
  4. Add the resulting binary to your PATH.

Key Features

  • 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.

Usage

  1. Prepare a Lua script (see an example here).
  2. Execute the command:
    zmina --path <directory_path> --pattern <regex_pattern> --script <lua_script_path>
  3. Use the --help flag to see all available commands and options.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A lightweight command-line utility designed to execute Lua scripts on files matching specific regex patterns.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors