💾 Archived View for freeshell.de › tldr › fswatch.gmi captured on 2022-04-28 at 18:31:45. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
A cross-platform file change monitor.
fswatch {path/to/file} | xargs -n 1 {bash_command}
fswatch {path/to/file} {path/to/directory} {path/to/another_directory/**/*.js} | xargs -n 1 {bash_command}
fswatch {path/to/directory} | xargs -n 1 -I {} echo {}
fswatch --event {Updated|Deleted|Created} {path/to/directory} | xargs -n 1 {bash_command}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).