Hasty Briefsbeta

Show HN: Willow – a configurable file watcher and rule‑based file manager

a day ago
  • #rust
  • #file-organizer
  • #automation
  • Willow is a smart file watcher and organizer that monitors directories for file changes and performs actions based on configurable rules.
  • Features include smart stability detection, flexible conditions (extension, glob patterns, regex, size, content), multiple actions (move, log), and template support.
  • Handles temporary files by ignoring browser download artifacts (.part, .crdownload, etc.).
  • Supports dynamic placeholders in file paths and names (e.g., {filename}, {date}, {time}).
  • Configurable via YAML with options for overwrite policies (error, skip, overwrite, suffix).
  • Can execute commands with templated arguments, environment variables, and timeout settings.
  • Requires Rust 1.70 or later and works on macOS, Linux, or Windows.
  • Example config moves JPG files to Pictures on creation and PDFs to Documents/PDFs on modification.