{"id":23055173,"url":"https://github.com/tomenz/fsnotify","last_synced_at":"2026-03-03T13:34:15.640Z","repository":{"id":254854788,"uuid":"847748188","full_name":"Tomenz/FsNotify","owner":"Tomenz","description":"Notify on directory or file actions ","archived":false,"fork":false,"pushed_at":"2024-10-28T07:39:38.000Z","size":45,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-16T01:12:04.040Z","etag":null,"topics":["cpp","filesystemwatcher","linux"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tomenz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-26T13:24:57.000Z","updated_at":"2024-11-07T19:15:06.000Z","dependencies_parsed_at":"2024-08-26T15:56:50.652Z","dependency_job_id":"c93ccdbb-c425-439d-8749-abd5b345cc63","html_url":"https://github.com/Tomenz/FsNotify","commit_stats":null,"previous_names":["tomenz/fsnotify"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tomenz%2FFsNotify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tomenz%2FFsNotify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tomenz%2FFsNotify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tomenz%2FFsNotify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tomenz","download_url":"https://codeload.github.com/Tomenz/FsNotify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237855784,"owners_count":19377025,"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":["cpp","filesystemwatcher","linux"],"created_at":"2024-12-16T01:11:16.396Z","updated_at":"2025-10-23T16:31:05.821Z","avatar_url":"https://github.com/Tomenz.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CMake on a single platform](https://github.com/Tomenz/FsNotify/actions/workflows/cmake-single-platform.yml/badge.svg)](https://github.com/Tomenz/FsNotify/actions/workflows/cmake-single-platform.yml)\n[![CodeQL](https://github.com/Tomenz/FsNotify/actions/workflows/codeql.yml/badge.svg)](https://github.com/Tomenz/FsNotify/actions/workflows/codeql.yml)\n[![Codacy Security Scan](https://github.com/Tomenz/FsNotify/actions/workflows/codacy.yml/badge.svg)](https://github.com/Tomenz/FsNotify/actions/workflows/codacy.yml)\n\n# FsNotify\n\nA linux systemd service to monitors directory's or files, an executes a user defined actions if a event is detected.\n\n# Configuration\n\nThe configuration is is done in the fsnotify.cfg file.\n\n```\n[/home/user/Downloads]\nitemflag=ONLYDIR\n\nmonitortyp=CREATE\nfilter=core.*\nlimit = 2 / 10s\nactiontyp=system\nactionpara=ls -l /home/user/Downloads \u003e ./ls.out\n\nmonitortyp=DELETE\nfilter=core.*\nactiontyp=system\nactionpara=echo Deleted {NOTIFYITEM}/{NAME} \u003e\u003e ./ls2.out\n\n[/home/user/test.sh]\nmonitortyp=OPEN\nfilter=.*\nactiontyp=system\nactionpara=echo OPEN {NOTIFYITEM} \u003e\u003e ./ls2.out\n\n```\n\nmonitortyp = ACCESS | ATTRIB | CLOSE_WRITE | CLOSE_NOWRITE | CREATE |\n             DELETE | DELETE_SELF | MODIFY | MOVE_SELF | MOVED_FROM |\n             MOVED_TO | OPEN | CLOSE\n\nfilter     = Regular Expression to filter file or directory name\n\nactiontyp  = system | syslog | addmonitor\n\nactionpara = if actiontyp is \"system\" it can be any shell command or a shell\n             script (*.sh)\n\n             if actiontyp is \"addmonitor\" the actionpara is a string with a\n             other monitor configuration.\n             Example: actionpara = \"itemflag=ONLYDIR\\nmonitortyp=CLOSE_WRITE\\nfilter=^[^\\x23]+$\\nactiontyp=system\\nactionpara=../calcsha.sh {NOTIFYITEM}/{NAME}\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomenz%2Ffsnotify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomenz%2Ffsnotify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomenz%2Ffsnotify/lists"}