#events #inotify

app inotify-logger

Log inotify events in a friendly way

2 releases

Uses new Rust 2024

0.1.1 Aug 16, 2025
0.1.0 Oct 29, 2024

#251 in Debugging

Download history 127/week @ 2025-08-13 18/week @ 2025-08-20 5/week @ 2025-08-27 8/week @ 2025-10-01

61 downloads per month

MPL-2.0 license

225KB
246 lines

inotify-logger

Log inotify events in a friendly way

Features

  • Recursively watches existing and newly added files and directories in the current directory.
  • Groups MOVED_FROM and MOVED_TOevents into a single MOVE event when possible.
  • Prints only a (currently hard-coded) subset of inotify events, for ease of reading.
  • Prints an inactivity ruler after one second with no new events, visually grouping events.

Screenshot of inotify-logger in a terminal

Installation and Usage

After obtaining a working Rust toolchain, inotify-logger can be installed from source through crates.io:

cargo install --locked inotify-logger

It can then be started in the directory to watch for events:

inotify-logger

Configuration

inotify-logger does not currently feature any configuration. It may later support configuring parts of its behavior through command-line arguments.

Compatibility

The console output is not intended for machine consumption and no compatibility guarantees are provided.

License

Copyright 2024–2025 AudaciousAxiom

This project is licensed under MPL-2.0.

Dependencies

~2.7–6MB
~99K SLoC