https://github.com/ahmed605/simplereplaceallutility
https://github.com/ahmed605/simplereplaceallutility
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahmed605/simplereplaceallutility
- Owner: ahmed605
- Created: 2018-10-03T18:15:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T18:27:23.000Z (over 6 years ago)
- Last Synced: 2024-12-29T18:15:08.304Z (4 months ago)
- Language: Java
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SimpleReplaceAllUtility
This utility enables you to replace all of 1 occurence of a string in any file to another based on a csv file, in all files of a directory.
Example: CSV File
| OriginalText | RealText |
| ------------- |:-------------:|
| field_104025_t | threadLock |And it will scan a directory of your choosing and replace all files with field_104025_t in any part of the file
and replace it with threadLock.Just run this jar with 2 arguments, the /path/to/csvFile.csv and /path/to/directory/to/scan
If your csv has multiple rows it will replace all files with all occurences of the fields with the realtext value.
This program will always skip the first header row.