https://github.com/dbrennand/rm-content
A Python 3.7 script to remove a specific string from all files and repos (owned by the user).
https://github.com/dbrennand/rm-content
content data erase eraser privacy privacy-protection privacy-tools remove remover rm-content
Last synced: about 1 year ago
JSON representation
A Python 3.7 script to remove a specific string from all files and repos (owned by the user).
- Host: GitHub
- URL: https://github.com/dbrennand/rm-content
- Owner: dbrennand
- License: mit
- Created: 2019-06-20T13:23:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T05:47:54.000Z (over 3 years ago)
- Last Synced: 2025-03-25T04:53:42.851Z (over 1 year ago)
- Topics: content, data, erase, eraser, privacy, privacy-protection, privacy-tools, remove, remover, rm-content
- Language: Python
- Size: 8.79 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rm-content
A Python 3.7 script to remove a specific string from all files and repos (owned by the user).
## Usage
* Provide a Github account [access token](https://github.com/settings/tokens)
* Edit `COMMIT_MSG` if you so desire.
* **Important** `STR_TO_REMOVE`. REQUIRED: The string to search for removal/replace.
* **Important** `REPLACE_WITH`. The string to replace `STR_TO_REMOVE`. Can be left blank.
```
ACCESS_TOKEN = "*"
COMMIT_MSG = "rm-content."
# Fill with the string the user wants to search for and remove/replace.
STR_TO_REMOVE = "*"
# Can be left blank or change to something of users choice.
REPLACE_WITH = ""
```
## Dependencies
* [PyGithub](https://github.com/PyGithub/PyGithub/)
Install dependencies using Pipfile:
```
pipenv install
```
Or
```
pip install -r requirements.txt
```
## Authors -- Contributors
* **dbrennand** - *Author* - [dbrennand](https://github.com/dbrennand)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) for details.