/watchdir

A CLI tool to watch for file operations within a scoped directory.

Primary LanguageRustMIT LicenseMIT

watchdir

A simple tool to find newly operations in specified directory, and do it recursively. It requires inotify to work properly.

When diving into deeper directory recursively, a directory will be ignored in the following situations:

  • no permission
  • symlink

Also by default, it will ignore what happend in hidden directories. Use -H/--include-hidden option to supress this behavior.

Usage

watchdir [OPTIONS] <DIR>

Installation

RUSTFLAGS="--cfg unsound_local_offset" cargo install --locked --git https://github.com/rydesun/watchdir