{"id":18667737,"url":"https://github.com/debek/rpl","last_synced_at":"2025-11-06T15:30:32.855Z","repository":{"id":213936237,"uuid":"735157120","full_name":"debek/rpl","owner":"debek","description":"cli tool replacing a phrase or a string of characters within the current directory and all its subdirectories.","archived":false,"fork":false,"pushed_at":"2024-09-26T07:27:30.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T18:22:34.489Z","etag":null,"topics":["linux","replace","replace-text","string-formatter","strings-manipulation"],"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/debek.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":"2023-12-23T21:42:25.000Z","updated_at":"2024-09-26T07:27:33.000Z","dependencies_parsed_at":"2023-12-24T13:20:26.414Z","dependency_job_id":"6e1b1db1-dcbc-4072-acb4-bc7f37929737","html_url":"https://github.com/debek/rpl","commit_stats":null,"previous_names":["debek/rpl"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debek%2Frpl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debek%2Frpl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debek%2Frpl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debek%2Frpl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/debek","download_url":"https://codeload.github.com/debek/rpl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239495431,"owners_count":19648321,"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":["linux","replace","replace-text","string-formatter","strings-manipulation"],"created_at":"2024-11-07T08:39:54.419Z","updated_at":"2025-11-06T15:30:32.807Z","avatar_url":"https://github.com/debek.png","language":"Go","readme":"[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fdebek%2Frpl\u0026count_bg=%2379C83D\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=hits\u0026edge_flat=false)](https://hits.seeyoufarm.com)\n# rpl - Replace String CLI Tool\n\n## Overview\n\nThis CLI tool, developed in Go, is designed for efficiently replacing a phrase or a string of characters within the current directory and all its subdirectories. It's an invaluable utility for quick and bulk text modifications in multiple files.\n\nWorks good on Linux and MacOs systems.\n\n## Features\n\n- Replace a single word or a phrase in all files within the current directory and subdirectories.\n- Supports string replacements involving spaces by using quotes.\n\n## Installation\n\nou can install **rpl** using the Go tool:\n\n`go install github.com/debek/rpl@latest`\n\nAfter installation, add the Go binary path to your system's PATH to access the `rpl` command from anywhere:\n\n`export PATH=$PATH:~/go/bin`\n\n## Usage\n\nTo use the tool, navigate to the directory where you want to perform the replacements and execute one of the following commands:\n\n### Replacing a Single Word\n\n```\nrpl [old_word] [new_word]\n```\n\n- `old_word`: The word you want to replace.\n- `new_word`: The word that will replace the old word.\n\n### Replacing a Phrase\n\n```\nrpl \"[old_string one]\" \"[new_string two]\"\n```\n\n- `old_string one`: The phrase you want to replace. Enclose in quotes.\n- `new_string two`: The phrase that will replace the old phrase. Enclose in quotes.\n\n## Contribution\n\nIf you're interested in contributing to the osmon project, please check our [contribution guidelines](https://github.com/debek/osmon/blob/main/CONTRIBUTE.md). All contributions, from bug reporting to new feature suggestions, are highly appreciated.\n\n## License\n\nThis project is available under the [MIT License](https://github.com/debek/osmon/blob/main/LICENSE).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebek%2Frpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdebek%2Frpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebek%2Frpl/lists"}