{"id":17436023,"url":"https://github.com/kei-k23/go-cpz","last_synced_at":"2026-01-31T20:01:04.153Z","repository":{"id":257820101,"uuid":"865836730","full_name":"Kei-K23/go-cpz","owner":"Kei-K23","description":"A small, fast, and modern utility command line tool for 'cp/mv' alternative or replacement that written in Go. It's also allows you to filter files based on filenames, extensions, or regular expressions during the copy or move process.","archived":false,"fork":false,"pushed_at":"2024-10-09T08:33:32.000Z","size":24,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T17:14:48.234Z","etag":null,"topics":["cli","command-line","go","utilities"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kei-K23.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":"2024-10-01T08:10:09.000Z","updated_at":"2025-09-27T09:31:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"768fc549-a9ab-43e0-a1f6-308a95e8ea1c","html_url":"https://github.com/Kei-K23/go-cpz","commit_stats":null,"previous_names":["kei-k23/go-cpz","kei-k23/cpz"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Kei-K23/go-cpz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kei-K23%2Fgo-cpz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kei-K23%2Fgo-cpz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kei-K23%2Fgo-cpz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kei-K23%2Fgo-cpz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kei-K23","download_url":"https://codeload.github.com/Kei-K23/go-cpz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kei-K23%2Fgo-cpz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28952578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","command-line","go","utilities"],"created_at":"2024-10-17T10:01:34.321Z","updated_at":"2026-01-31T20:01:04.116Z","avatar_url":"https://github.com/Kei-K23.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cpz\n\nA small, fast, and modern utility command line tool for `'cp/mv'` alternative or replacement that written in **Go**. It's also allows you to filter files based on filenames, extensions, or regular expressions during the `copy or move process`.\n\n## Features\n\n- Copy or move files or directories while showing a progress bar.\n- Exclude files based on their names, extensions, or regular expressions.\n- Supports concurrency for faster copying or moving.\n- Verify files to guarantee that source and destination file are same after copying or moving.\n\n## Installation\n\nTo install **cpz**, clone the repository and run the following commands:\n\n```bash\ngit clone https://github.com/Kei-K23/go-cpz.git\ncd go-cpz\ngo build -o cpz\n```\n\n## Usage\n\n### Copy\n\n```bash\ncpz cp [source] [destination] [flags]\n```\n\n### Arguments\n\n- **source**: The path of the file or directory to copy.\n- **destination**: The path where the file or directory will be copied.\n\n### Flags\n\n- `-p, --progress`: Show a progress indicator during the copy operation.\n- `-f, --filter`: Exclude files by name. Provide multiple values as a comma-separated list.\n- `-e, --extensions`: Exclude files by extension. Provide multiple extensions as a comma-separated list (e.g., .log, .tmp).\n- `-r, --regex`: Exclude files by regular expression patterns.\n\n### Examples\n\n#### Basic File Copy\n\n```bash\ncpz cp /path/to/source/file.txt /path/to/destination/file.txt\n```\n\n#### Directory Copy with Progress Bar\n\n```bash\ncpz cp /path/to/source/directory /path/to/destination/directory -p\n```\n\n#### Exclude Files by Name\n\n```bash\ncpz cp /path/to/source /path/to/destination -f \"README.md,.env\"\n```\n\nThis will exclude files named README.md and .env from being copied.\n\n#### Exclude Files by Extension\n\n```bash\ncpz cp /path/to/source /path/to/destination -e \".log,.tmp\"\n```\n\nThis will exclude files with the .log and .tmp extensions from being copied.\n\n#### Exclude Files by Regular Expression\n\n```bash\ncpz cp /path/to/source /path/to/destination -r \"^._*backup\\.zip$,^old*._\"\n```\n\nThis will exclude files ending with _backup.zip and files starting with old_.\n\n### Move\n\n```bash\ncpz mv [source] [destination] [flags]\n```\n\n### Arguments\n\n- **source**: The path of the file or directory to move.\n- **destination**: The path where the file or directory will be moved.\n\n### Flags\n\n- `-p, --progress`: Show a progress indicator during the move operation.\n- `-f, --filter`: Exclude files by name. Provide multiple values as a comma-separated list.\n- `-e, --extensions`: Exclude files by extension. Provide multiple extensions as a comma-separated list (e.g., .log, .tmp).\n- `-r, --regex`: Exclude files by regular expression patterns.\n\n### Examples\n\n#### Basic File Move\n\n```bash\ncpz mv /path/to/source/file.txt /path/to/destination/file.txt\n```\n\n#### Directory Move with Progress Bar\n\n```bash\ncpz mv /path/to/source/directory /path/to/destination/directory -p\n```\n\n#### Exclude Files by Name\n\n```bash\ncpz mv /path/to/source /path/to/destination -f \"README.md,.env\"\n```\n\nThis will exclude files named README.md and .env from being moved.\n\n#### Exclude Files by Extension\n\n```bash\ncpz mv /path/to/source /path/to/destination -e \".log,.tmp\"\n```\n\nThis will exclude files with the .log and .tmp extensions from being moved.\n\n#### Exclude Files by Regular Expression\n\n```bash\ncpz mv /path/to/source /path/to/destination -r \"^._*backup\\.zip$,^old*._\"\n```\n\nThis will exclude files ending with _backup.zip and files starting with old_.\n\n### Verify\n\n```bash\ncpz verify [source] [destination]\n```\n\n### Arguments\n\n- **source**: The path of the file or directory to verify.\n- **destination**: The path of the file or directory to verify.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details.\n\n## Contributions\n\nContributions, issues, and feature requests are welcome. Feel free to check the issues page for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkei-k23%2Fgo-cpz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkei-k23%2Fgo-cpz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkei-k23%2Fgo-cpz/lists"}