macOS
brew install kqwaitlocal Homebrew formula metadata
安装
brew install kqwaitlocal Homebrew formula metadata
概览
Wait for events on files or directories on macOS
历史
kqwait is a compact command-line utility that waits for events on one or more files or directories, prints the path that caused it to wake, and returns a status suitable for shell automation.
Sven Schober created kqwait to address the lack of an inotifywait-like command on macOS. The official README says it was inspired by inotifywait and the original kqueue paper.
The source supports file write, rename, and deletion events plus directory entry creation and deletion. Its documented Linux mode requires libkqueue and cannot watch directory changes fully.
kqwait has a deliberately narrow adoption profile. Homebrew distribution makes it convenient for macOS shell users who need a small event-waiting primitive, while the upstream project also documents limited Linux support through libkqueue.
Users pass one or more files or directories to `kqwait`, often inside a shell loop. File writes, renames, and deletions wake the process; watched directories report entry creation or deletion with `+` or `-` prefixes.
Upstream warns of a directory-watching race when several events happen rapidly and notes that writes to existing files inside a watched directory require also watching the contained paths.
kqwait is package-nerd interesting as a small macOS counterpart to Linux-oriented filesystem watchers. It exposes kqueue-style event waiting as a composable executable suitable for shell loops without requiring a larger automation framework.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
kqwait | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/sschober/kqwait
安装元数据
| 软件包键 | brew:kqwait |
|---|---|
| 版本 | 1.0.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/kqwait |
| 主页 | https://github.com/sschober/kqwait |
| 仓库 | https://github.com/sschober/kqwait |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/sschober/kqwait/archive/refs/tags/kqwait-v1.0.3.tar.gz |
| 最后更新 | 2026-11-01T20:17:41-05:00 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_big_sur, arm64_golden_gate, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | kqwait |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.