{"id":13656961,"url":"https://github.com/wankdanker/node-inotify-run","last_synced_at":"2025-04-11T23:50:12.173Z","repository":{"id":57274252,"uuid":"58021965","full_name":"wankdanker/node-inotify-run","owner":"wankdanker","description":"Run scripts on inotify events","archived":false,"fork":false,"pushed_at":"2016-05-05T14:03:34.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T01:35:40.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wankdanker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-04T04:09:24.000Z","updated_at":"2019-05-26T19:57:49.000Z","dependencies_parsed_at":"2022-09-09T11:51:11.963Z","dependency_job_id":null,"html_url":"https://github.com/wankdanker/node-inotify-run","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wankdanker%2Fnode-inotify-run","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wankdanker%2Fnode-inotify-run/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wankdanker%2Fnode-inotify-run/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wankdanker%2Fnode-inotify-run/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wankdanker","download_url":"https://codeload.github.com/wankdanker/node-inotify-run/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248497890,"owners_count":21113984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T05:00:34.983Z","updated_at":"2025-04-11T23:50:12.154Z","avatar_url":"https://github.com/wankdanker.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"inotify-run\n-----------\n\nA cli tool that waits for inotify events and executes a command.\n\nThe arguments that are passed to the command are as follows:\n\n* **path** - the directory in which the effected file/directory resides\n* **name** - the name of the file or directory effected by the event\n* **events** - a comma separated list of events that occurred\n\ninstall\n-------\n\n```sh\n$ npm install -g inotify-run\n```\n\nexample\n-------\n\n```sh\n$ inotify-run -d 1 -p /opt/images -e IN_CREATE,IN_DELETE /opt/bin/update-database.sh\n```\n\n--help\n------\n\n```sh\n  Usage: index [options] \u003ccmd\u003e\n\n  Options:\n\n    -h, --help                 output usage information\n    -V, --version              output the version number\n    -p, --path \u003cvalue\u003e         Path to watch\n    -d, --depth \u003cn\u003e            How many directories deep should be watched.\n    -e, --events \u003clist\u003e        List of events to watch for; see below.\n    -i, --include \u003cglob-list\u003e  List of directories to include, globstyle (minimatch)\n    -x, --exclude \u003cglob-list\u003e  List of directories to include, globstyle (minimatch)\n\n  Debugging:\n\n    $ DEBUG=inotify-run:* inotify-run ...\n\n  Events:\n\n    IN_ACCESS IN_ATTRIB IN_CLOSE_WRITE IN_CLOSE_NOWRITE IN_CREATE\n    IN_DELETE IN_DELETE_SELF IN_MODIFY IN_MOVE_SELF IN_MOVED_FROM\n    IN_MOVED_TO IN_OPEN IN_IGNORED IN_ISDIR IN_Q_OVERFLOW\n    IN_UNMOUNT IN_ALL_EVENTS IN_ONLYDIR IN_DONT_FOLLOW IN_ONESHOT\n    IN_MASK_ADD IN_CLOSE IN_MOVE\n```\n\nlicense\n-------\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwankdanker%2Fnode-inotify-run","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwankdanker%2Fnode-inotify-run","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwankdanker%2Fnode-inotify-run/lists"}