{"id":19783264,"url":"https://github.com/psychedelicshayna/windows-watch","last_synced_at":"2026-04-30T02:36:12.177Z","repository":{"id":108568811,"uuid":"362852259","full_name":"PsychedelicShayna/windows-watch","owner":"PsychedelicShayna","description":"Very basic yet nifty implementation of the watch utility from Linux, but for Windows.","archived":false,"fork":false,"pushed_at":"2021-04-29T15:29:06.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T13:09:53.580Z","etag":null,"topics":["command","command-line","command-line-tool","command-line-utility","console-port","linux-utility","terminal","utility","watch","windows-port"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PsychedelicShayna.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":"2021-04-29T14:51:20.000Z","updated_at":"2021-11-10T13:52:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"e809c6ec-ebd1-4653-81e9-acafd5bd55c8","html_url":"https://github.com/PsychedelicShayna/windows-watch","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PsychedelicShayna/windows-watch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsychedelicShayna%2Fwindows-watch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsychedelicShayna%2Fwindows-watch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsychedelicShayna%2Fwindows-watch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsychedelicShayna%2Fwindows-watch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PsychedelicShayna","download_url":"https://codeload.github.com/PsychedelicShayna/windows-watch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsychedelicShayna%2Fwindows-watch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260126256,"owners_count":22962612,"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":["command","command-line","command-line-tool","command-line-utility","console-port","linux-utility","terminal","utility","watch","windows-port"],"created_at":"2024-11-12T06:07:47.977Z","updated_at":"2026-04-30T02:36:07.158Z","avatar_url":"https://github.com/PsychedelicShayna.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Windows Watch\nVery basic implementation of the watch utility from Linux, but for Windows. Nothing too fancy, but it gets the job done.\nIf this is your first time hearing about watch, it's essentially a utility that repeats a given command at a set interval\nand refreshes the screen as it does so.\n\n## Usage - From The Help Page\n```\n--help (-h)      |     Prints This Help Page\n                 |\n--interval (-i)  |     Sets the command repetition interval in milliseconds. Defaults to 1000ms.\n                 |\n--verbose (-v)   |     Toggles the printing of additional information related to the command's execution.\n                 |     Currently only displays the return code after every execution.\n                 |\n--command (-c)   |     The most important argument. Everything after this will be treated as the command that\n                 |     should be watched. This should be placed at the very end of all other arguments.\n                 |     In some some cases (e.g. pipes) encapsulating the command in quotes may be necessary.\n```\n\nI must stress that `--command (-c)` should be the very last argument, as everything after it will be treated as a command, allowing for syntax such as this: `watch -c ipconfig /all` \nwhere `ipconfig` and `/all` are two separate argv arguments but get treated as one as they are concatenated to form a single string `ipconfig /all` without the need of quotes.\n\nIn some cases, encapsulating the command you want to watch with quotes is going to be necessary, such as when using `\u003e` or `|` as part of the command, since `cmd.exe` won't treat it as plain text otherwise.\n\n\n### Example\n`watch -i 5000 -c \"tasklist | find \\\"firefox\\\" /i\"`\n#### Outputs Every 5 Seconds\n```\nfirefox.exe                  18512 Console                    1    396,172 K\nfirefox.exe                  19132 Console                    1    189,620 K\nfirefox.exe                  19268 Console                    1     13,932 K\nfirefox.exe                  18360 Console                    1    429,084 K\nfirefox.exe                  20068 Console                    1    902,108 K\nfirefox.exe                  19720 Console                    1     92,124 K\nfirefox.exe                  20440 Console                    1    251,048 K\nfirefox.exe                  12580 Console                    1    245,092 K\nfirefox.exe                  23468 Console                    1    198,384 K\nfirefox.exe                  22984 Console                    1    204,628 K\nfirefox.exe                  23796 Console                    1    218,352 K\nfirefox.exe                  24116 Console                    1    304,460 K\nfirefox.exe                  13976 Console                    1    170,504 K\nfirefox.exe                  21972 Console                    1     29,640 K\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsychedelicshayna%2Fwindows-watch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsychedelicshayna%2Fwindows-watch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsychedelicshayna%2Fwindows-watch/lists"}