{"id":20991226,"url":"https://github.com/brenordv/win-touch","last_synced_at":"2026-04-30T16:31:49.725Z","repository":{"id":105323894,"uuid":"608943645","full_name":"brenordv/win-touch","owner":"brenordv","description":"Windows version of touch command line (Linux)","archived":false,"fork":false,"pushed_at":"2023-03-05T22:56:30.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T12:18:52.145Z","etag":null,"topics":["cli","shell","tool","touch","windows"],"latest_commit_sha":null,"homepage":"https://raccoon.ninja","language":"C#","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/brenordv.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-03T03:20:23.000Z","updated_at":"2024-10-22T17:24:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee2dc385-f1f5-45bc-b6bd-ce290ce7d206","html_url":"https://github.com/brenordv/win-touch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/brenordv/win-touch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenordv%2Fwin-touch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenordv%2Fwin-touch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenordv%2Fwin-touch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenordv%2Fwin-touch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brenordv","download_url":"https://codeload.github.com/brenordv/win-touch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenordv%2Fwin-touch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264631310,"owners_count":23640946,"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":["cli","shell","tool","touch","windows"],"created_at":"2024-11-19T06:37:49.647Z","updated_at":"2026-04-30T16:31:44.689Z","avatar_url":"https://github.com/brenordv.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wTouch\nI created this project because I missed the `touch` command on Windows and I couldn't bother to search for a solution.\nSo I created one myself, you know, for science.\n\nJust like in Linux, the touch command is used to create a new file or update the timestamp of an existing file. \nWhen you run the touch command, it checks whether the specified file exists. If the file exists, it updates the file's \nmodification and access timestamps to the current time. If the file does not exist, it creates an empty file with the \nspecified name.\n\nThe touch command is a simple utility that is commonly used to create new files, update timestamps, or ensure that \na file exists without modifying its content. The command takes one or more file names as arguments, and can also \naccept various options to modify its behavior.\n\n## Usage\n## Create new file\n```shell\ntouch \u003cnew-file1\u003e \u003cnew-file2\u003e \u003cnew-file3\u003e ...\n```\n\n## Update timestamp\n```shell\ntouch \u003cexisting-file1\u003e \u003cexisting-file2\u003e \u003cexisting-file3\u003e ...\n```\n\n## Create new file and update timestamp\n\n\u003e This feature is not yet implemented\n\n```shell\ntouch -t 202203031300 my-existing-file.txt\n```\n\nThis command creates a new file named `my-existing-file.txt` with a modification time of March 3rd, 2022 at 1:00 PM. \nThe -t option specifies the timestamp in the format YYYYMMDDhhmm, where YYYY is the year, MM is the month, DD is the\nday, hh is the hour, and mm is the minute.\n\n\n# Devops\nI wanted to learn more about Github Workflows and actions, so I created two pipelines: \n1. [Build and Publish Release](.github/workflows/publish.yml): This pipeline builds the project, generates a zip file, creates a new Release and publishes the zip into that Github release.\n   - TODO on this pipeline: Skip deployment if the release already exists.\n2. [Functional Testing](./.github/workflows/functionalTest.yml): This pipeline runs the functional tests on the current branch for every pull request and (just to double-check) whenever code is pushed to the main branch.\n   - It's worth noting that I test this application in Linux, but just for completeness, because Linux already have the touch command. \n\n\n# Notes\n- Provided AS-IS, no warranty, no support, no nothing. (Well, maybe support if someone opens an issue...)\n- This is a very simple implementation of the touch command. It does not support all the options that the Linux touch command supports.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrenordv%2Fwin-touch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrenordv%2Fwin-touch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrenordv%2Fwin-touch/lists"}