inotify-logger

Crates.ioinotify-logger
lib.rsinotify-logger
version0.1.0
sourcesrc
created_at2024-10-29 21:03:37.687866
updated_at2024-10-29 21:03:37.687866
descriptionLog inotify events in a friendly way
homepage
repositoryhttps://codeberg.org/AudaciousAxiom/inotify-logger
max_upload_size
id1427644
size39,706
(AudaciousAxiom)

documentation

README

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 AudaciousAxiom

This project is licensed under MPL-2.0.

Commit count: 0

cargo fmt