{"id":16875651,"url":"https://github.com/kilo59/mass_replace","last_synced_at":"2026-02-13T06:06:34.757Z","repository":{"id":57439930,"uuid":"130132822","full_name":"Kilo59/mass_replace","owner":"Kilo59","description":"Walkthrough directories and perform find and replace on select filetypes.","archived":false,"fork":false,"pushed_at":"2025-02-04T00:54:45.000Z","size":74,"stargazers_count":0,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T16:50:27.639Z","etag":null,"topics":["find-and-replace"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Kilo59.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,"zenodo":null}},"created_at":"2018-04-18T23:23:45.000Z","updated_at":"2019-01-12T18:53:58.000Z","dependencies_parsed_at":"2023-01-28T05:30:48.018Z","dependency_job_id":"fc07fb4b-f8fc-4ed9-9b96-c82618fc24fe","html_url":"https://github.com/Kilo59/mass_replace","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"f44627f99f09433af9368e7a5fd6f7152905d484"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kilo59%2Fmass_replace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kilo59%2Fmass_replace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kilo59%2Fmass_replace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kilo59%2Fmass_replace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kilo59","download_url":"https://codeload.github.com/Kilo59/mass_replace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262020,"owners_count":21074229,"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":["find-and-replace"],"created_at":"2024-10-13T15:36:41.546Z","updated_at":"2026-02-13T06:06:34.728Z","avatar_url":"https://github.com/Kilo59.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mass_replace\n\n[![PyPI version](https://badge.fury.io/py/mass-replace.svg)](https://badge.fury.io/py/mass-replace) [![PyPi](https://img.shields.io/pypi/pyversions/Django.svg)](https://pypi.org/project/mass-replace/) [![Build Status](https://travis-ci.org/Kilo59/mass_replace.svg?branch=master)](https://travis-ci.org/Kilo59/mass_replace) [![Coverage Status](https://coveralls.io/repos/github/Kilo59/mass_replace/badge.svg?branch=master)](https://coveralls.io/github/Kilo59/mass_replace?branch=master) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\n## Use case\n\n`mass_replace` \"Walkthrough\" through a specified `root_folder` and perform find and replace operations on every file of the specified type.\n\n* If `Python 3` is installed on your system it can be run as `mass_replace.py` Python script\n* Can be run as a standalone Window Executable (`.exe`)\n\n--------------------------------------------\n\n## ⚠️ **WARNING** ⚠️\nEVERY FILE OF THE SPECIFIED TYPE NESTED UNDERNEATH THE `root_folder` WILL BE SUBJECT TO FIND AND REPLACE OPERATIONS\n\n------------------------------------------------\n\n## Installation and usage\n\n### Install with pip\n\n```\npip install mass-replace\n```\n\n### To run as a standalone `.exe`\n\n1. Download `mass_replace_windows_executable.zip`\n2. Extract zip file.\n3. Set configuration settings\n    - from `mass_replace/` open `config.yaml` with any text editor.\n    - set `filetypes` to control which filetypes will be \"operated on\".\n    - set `replacement_paris` to control the find and replace operations to be performed on each file.\n    - set 'root_folder' to set the parent folder under which the operations will be performed.\n4. Run `mass_replace.exe`\n     - Double click `mass_replace.exe`\n     - or run from command line/powershell ✔️\n\n```yaml\n# mass_replace config file\nroot_folder: C:\\Users\\username\\Documents\\docs_go_here_folder\nfiletypes:\n  - csv\n  - xml\n  - txt\nreplacement_pairs:\n  old_text1: new_text1\n  old_text2: new_text2\n  puff_daddy: diddy\n```\n\n### Ease of Use suggestions\n\nTo make the use of `mass_replace.exe` easier.\nCreate shortcuts of `mass_replace.exe` and `config.yaml` and place them somewhere easy to get to.\nDo not move the actual files or the application will not work.\n\n![image](https://user-images.githubusercontent.com/13108583/39159212-5f284ca0-4732-11e8-8014-dbedd0f349c0.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkilo59%2Fmass_replace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkilo59%2Fmass_replace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkilo59%2Fmass_replace/lists"}