{"id":23508809,"url":"https://github.com/lovasko/changewait","last_synced_at":"2025-07-06T10:32:17.426Z","repository":{"id":78820612,"uuid":"45490598","full_name":"lovasko/changewait","owner":"lovasko","description":"File Watch Utility","archived":false,"fork":false,"pushed_at":"2015-11-04T17:21:20.000Z","size":128,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T15:57:02.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lovasko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-03T19:33:39.000Z","updated_at":"2019-10-21T09:39:02.000Z","dependencies_parsed_at":"2023-03-12T05:54:47.305Z","dependency_job_id":null,"html_url":"https://github.com/lovasko/changewait","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lovasko/changewait","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2Fchangewait","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2Fchangewait/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2Fchangewait/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2Fchangewait/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovasko","download_url":"https://codeload.github.com/lovasko/changewait/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2Fchangewait/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263885124,"owners_count":23525025,"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-12-25T11:32:15.564Z","updated_at":"2025-07-06T10:32:17.403Z","avatar_url":"https://github.com/lovasko.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# changewait\nFile watching utility for FreeBSD and Mac OS X.\n\n## Introduction\nThe `changewait` utility allows you to wait on a change to a file of your\nchoice. It is able to listen for all kinds of changes: writes, reads, \nattribute changes, cases where someone removes the file or revokes the \naccess to it, renames the file or changes the hardlink count.\n\n## Usage\nThe program expects zero or mode optional flags, specifying the set of\nchanges that should be watched and a path to a file. In case that no flag \nwas specified, all event types are considered.\n\n## Flags\n * `-a` the file attributes changed\n * `-d` the file was deleted\n * `-e` the file was extended\n * `-l` the number of links to the file changed\n * `-m` the file was moved (renamed)\n * `-r` the access rights to the file were revoked\n * `-w` the file has been written into\n\n## Example \nThe utility alone has not much use, yet it is a great addition to \nyour shell script automation workflow.\n\n```sh\n#!/bin/sh\n\nwhile true\ndo\n\tchangewait thesis.tex\n\tpdflatex thesis.tex\n\txpdf thesis.pdf\ndone\n```\n\n## Build \u0026 install \n```\n$ clang -o changewait main.c\n$ sudo mv changewait /usr/bin\n```\n\n## License\n2-clause BSD license. For more information please consult the\n[LICENSE](LICENSE.md) file. In the case that you need a different license, \nfeel free to contact me.\n\n## Author\nDaniel Lovasko (lovasko@freebsd.org)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasko%2Fchangewait","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovasko%2Fchangewait","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasko%2Fchangewait/lists"}