Bulk Find/Replace Across Multiple Files
Oxygen general issues.
-
- Posts: 1
- Joined: Thu Aug 17, 2023 7:25 pm
Bulk Find/Replace Across Multiple Files
Hello,
I am trying to modify a QTIv2.1 package and need replace thousands of strings from one value to another across 50+ imsmanifest.xml files. Is there a simple way to find the value (example: LA.R.3.4.b) and replace with new value in the same string (example: B190A18A-410B-4ACE-B5DB-04159F2949D1). This needs to be done for approximately 17,000 strings across 50+ XML files.
I am looking for a relatively quick way to find/replace values across all files at once, and then save the manifest files according to their properly nested folder location. Is this possible or am looking at life too optimistically? Thank you for any help!
I am trying to modify a QTIv2.1 package and need replace thousands of strings from one value to another across 50+ imsmanifest.xml files. Is there a simple way to find the value (example: LA.R.3.4.b) and replace with new value in the same string (example: B190A18A-410B-4ACE-B5DB-04159F2949D1). This needs to be done for approximately 17,000 strings across 50+ XML files.
I am looking for a relatively quick way to find/replace values across all files at once, and then save the manifest files according to their properly nested folder location. Is this possible or am looking at life too optimistically? Thank you for any help!
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Bulk Find/Replace Across Multiple Files
Hi,
Have you tried using Oxygen's "Find/Replace in Files" dialog (main menu "Find->Find/Replace in Files")?
Regards,
Radu
Have you tried using Oxygen's "Find/Replace in Files" dialog (main menu "Find->Find/Replace in Files")?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 115
- Joined: Mon Jul 10, 2023 11:49 am
Re: Bulk Find/Replace Across Multiple Files
1. find the pattern. let's say, the same characteristics shared by these thousands of documents. For example, "format=".
2. Open VS Code.
3. Open the folder where all these files to be modified are saved.
4. Find/Replace. Use the keyword or what needs to be replaced, and replace them with new content (even though it's a space or nothing which means batch delete)
Done.
2. Open VS Code.
3. Open the folder where all these files to be modified are saved.
4. Find/Replace. Use the keyword or what needs to be replaced, and replace them with new content (even though it's a space or nothing which means batch delete)
Done.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service