{"id":18888118,"url":"https://github.com/icexin/pcmd","last_synced_at":"2026-02-24T12:30:16.050Z","repository":{"id":151061216,"uuid":"115600954","full_name":"icexin/pcmd","owner":"icexin","description":"Paralleled command execution tool","archived":false,"fork":false,"pushed_at":"2018-01-08T03:47:09.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T05:28:49.795Z","etag":null,"topics":["command-execution","parallel"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/icexin.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-12-28T08:10:49.000Z","updated_at":"2018-01-07T03:01:58.000Z","dependencies_parsed_at":"2023-04-25T04:49:13.025Z","dependency_job_id":null,"html_url":"https://github.com/icexin/pcmd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icexin%2Fpcmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icexin%2Fpcmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icexin%2Fpcmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icexin%2Fpcmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icexin","download_url":"https://codeload.github.com/icexin/pcmd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239859562,"owners_count":19708863,"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-execution","parallel"],"created_at":"2024-11-08T07:42:19.554Z","updated_at":"2026-02-24T12:30:15.977Z","avatar_url":"https://github.com/icexin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paralleled command execution tool\n\n## Overview\n\n假设你有一个url列表文件，每行一个url，你想并发使用curl命令把列表里的地址抓下来保存到文件里面，pcmd或许能帮助你。\n\n```\ncat url.txt | pcmd -c 100 'echo \"downloading {{1}}\" \u0026\u0026 curl {{1}} \u003e {{1}}.html'\n```\n\n上面命令将以100的并发来下载文件。\n\n\n## Install\n\n`go get github.com/icexin/pcmd`\n\n## Usage\n\npcmd从标准输入里面把每一行按空格，tab分割，第一个字段是`{{1}}`，第二个是`{{2}}`，以此类推，总共可以支持9个占位符。\n\n`{{i}}`表示数据的行号\n\n-c 指定并发数\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficexin%2Fpcmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficexin%2Fpcmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficexin%2Fpcmd/lists"}