💾 Archived View for freeshell.de › tldr › inotifywait.gmi captured on 2022-06-11 at 22:01:31. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

inotifywait

Waits for changes to one or more files.

More information.

while inotifywait {path/to/file}; do {command}; done
while inotifywait --quiet {path/to/file}; do {command}; done
while inotifywait --recursive {path/to/directory}; do {command}; done
while inotifywait --recursive {path/to/directory} --exclude '{regular_expression}'; do {command}; done
while inotifywait --timeout {30} {path/to/file}; do {command}; done
while inotifywait --event {modify} {path/to/file}; do {command}; done
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY