rydesun / watchdir

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Rust 100.0%