#automation #cli #file-organizer #recursion #parser #utility

tooka-core

A fast, rule-based CLI tool for organizing your files

4 releases (stable)

Uses new Rust 2024

new 1.0.2 Jun 11, 2025
1.0.0 Jun 10, 2025
0.1.4 Jun 6, 2025

#618 in Filesystem

Download history 108/week @ 2025-06-03

108 downloads per month

GPL-3.0-only

100KB
2K SLoC

🧩 Tooka Core

githubcrates-iodocs-rs

The internal engine powering the Tooka CLI — a rule-based automation framework for file handling.


🧭 Overview

tooka-core provides:

  • Declarative YAML rule parsing and validation
  • Parallel recursive file traversal
  • Conditional filtering on filenames, size, metadata, and timestamps
  • Actions including move, copy, rename, delete, and skip
  • Template support for dynamic file naming
  • Dry-run support and detailed logging

Designed for embedding in CLI tools or other Rust applications.


🚀 Use Cases

  • Automated file cleanup
  • Media and document organization
  • Backup and archival workflows
  • Metadata-driven dataset filtering

🛠 Integration

Add to your Cargo.toml:

[dependencies]
tooka-core = "1.0.2"

⚡ Performance Benchmarks

Benchmarks using Criterion.rs are located in the benches/ directory to track and optimize sorting and traversal performance.


📜 License

Licensed under GPLv3

Dependencies

~11–38MB
~533K SLoC