💾 Archived View for freeshell.de › tldr › inotifywait.gmi captured on 2023-11-04 at 12:35:09. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Waits for changes to one or more files.
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).