{"id":18783779,"url":"https://github.com/tomkyle/cps","last_synced_at":"2025-12-20T19:30:15.503Z","repository":{"id":77716993,"uuid":"105008763","full_name":"tomkyle/cps","owner":"tomkyle","description":"Creates a file copy with given suffix","archived":false,"fork":false,"pushed_at":"2017-09-28T10:59:15.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T11:46:07.332Z","etag":null,"topics":["copy","suffix"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/tomkyle.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":"2017-09-27T11:14:47.000Z","updated_at":"2017-09-27T11:20:36.000Z","dependencies_parsed_at":"2023-09-06T11:45:18.293Z","dependency_job_id":null,"html_url":"https://github.com/tomkyle/cps","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomkyle%2Fcps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomkyle%2Fcps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomkyle%2Fcps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomkyle%2Fcps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomkyle","download_url":"https://codeload.github.com/tomkyle/cps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239699579,"owners_count":19682574,"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":["copy","suffix"],"created_at":"2024-11-07T20:40:39.708Z","updated_at":"2025-12-20T19:30:15.471Z","avatar_url":"https://github.com/tomkyle.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cps\n\n**Create a file copy with given suffix**\n\n\n## Installation\n\n\n### MacOS · Homebrew\n\nThe *cps* bash script can be installed by a Homebrew formula, which itself is part of the [tomkyle/daily](https://github.com/tomkyle/homebrew-daily) tap. You may may want to install the tap first.\n\n\n```bash\n# Install tap first, formula second:\n$ brew tap tomkyle/daily\n$ brew install cps\n\n# Without tapping first:\n$ brew install tomkyle/daily/cps\n```\n\n\n\n### Linux\n\nJust clone the repo and create a symlink in your local *~/bin* directory:\n\n```bash\n$ git clone git@github.com:tomkyle/cps.git cli-cps\n\n# Create sylink\n$ cd ~/bin\n$ ln -s /full/path/to/cli-cps/cps cps\n```\n\n\n\n## Usage\n\nPass a **source file** and a filename **suffix** for the copied target.\n\n```bash\n$ cps foo.pdf -bar\n$ ls\n\nfoo.pdf\nfoo-bar.pdf\n```\n\n## What happens inside\n\nAfter building the target file name, a simple copy command is used. Considering the usage example above:  \n`cp foo.pdf foo-bar.pdf`.\n\n\n## Issues\n\nSee [issues list.][i0]\n\n[i0]: https://github.com/tomkyle/cps/issues \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomkyle%2Fcps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomkyle%2Fcps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomkyle%2Fcps/lists"}