{"id":26317049,"url":"https://github.com/mitvix/replacestring","last_synced_at":"2025-03-15T13:17:49.065Z","repository":{"id":267138813,"uuid":"900364705","full_name":"mitvix/replacestring","owner":"mitvix","description":"Simple script in shell to replace strings from files using sed in a easy way","archived":false,"fork":false,"pushed_at":"2024-12-08T15:58:02.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-08T16:29:33.018Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mitvix.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":"2024-12-08T15:39:01.000Z","updated_at":"2024-12-08T15:58:05.000Z","dependencies_parsed_at":"2024-12-08T16:29:35.020Z","dependency_job_id":"d15efba3-6f41-4999-9912-5c87906b4d9c","html_url":"https://github.com/mitvix/replacestring","commit_stats":null,"previous_names":["mitvix/replacestring"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitvix%2Freplacestring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitvix%2Freplacestring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitvix%2Freplacestring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitvix%2Freplacestring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitvix","download_url":"https://codeload.github.com/mitvix/replacestring/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243732204,"owners_count":20338839,"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":[],"created_at":"2025-03-15T13:17:48.558Z","updated_at":"2025-03-15T13:17:49.058Z","avatar_url":"https://github.com/mitvix.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Replace String\nSimple script in shell to replace strings from files using sed in a easy way.\n\nWith this script it's possible replace content in files recursively, you just need pass the text that you are looking for and the text used to exchange.\n\n## Configure\n```\nsudo chmod +x replacestring.sh\nsudo cp replacestring.sh /usr/local/bin/\n```\n## Arguments\n\n* $1 \"original text\"\n* $2 \"new text replace\"\n* $3 \"filename\" \u003coptional\u003e\n\n## Usage: \n```\nreplacestring.sh \"original_text\" \"new_text_to_replace\"\nreplacestring.sh \"original_text\" \"new_text_to_replace\" \"*.php\"\n```\n\n## Dependences\n\n- grep https://www.gnu.org/software/grep/\n- findutils https://www.gnu.org/software/findutils/\n- xargs https://www.gnu.org/software/findutils/\n- sed https://www.gnu.org/software/sed/\n\nThis is GNU Software, please share! \n\nthat's all\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitvix%2Freplacestring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitvix%2Freplacestring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitvix%2Freplacestring/lists"}