Linux文件夹更改自动通知

标签 linux notifications

有没有一种方法可以让我以编程方式确定是否将具有某些特征的特定文件添加到 linux/tmp 文件夹中。我只需要创建一个小脚本,每次在 tmp 文件夹中添加新文件时都会自动调用该脚本。

最佳答案

这些链接可能会有帮助:InotifyInotify-tools .

关于Linux文件夹更改自动通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4355088/

相关文章:

android - 如何在 Android O 中动态更改通知声音

linux - 如何让我的 ELF 同时运行新旧版本的 glibc?

Linux 内核 : get information of page cache distribution over NUMA nodes

linux - Bash 脚本 - 无法解析代码 "Help"错误

ruby-on-rails - 您将如何在 RoR 中创建一个通知系统,例如在 SO 或 Facebook 上?

android - Cordova - 在收到通知后在后台更改 Android 设备上的徽章编号

linux - 期望脚本错误发送 : Spawn id exp4 not open while executing

html - 寻求一种紧凑格式的 HTML 电子书,以便在 Linux 下离线阅读

swift - 选择后的osx NSPopUpButton通知

android - 从 onprogressupdate 方法只显示一次通知