Page 1 of 1

Bulk Find/Replace Across Multiple Files

Posted: Thu Aug 17, 2023 8:32 pm
by dbarn021
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!

Re: Bulk Find/Replace Across Multiple Files

Posted: Fri Aug 18, 2023 8:34 am
by Radu
Hi,
Have you tried using Oxygen's "Find/Replace in Files" dialog (main menu "Find->Find/Replace in Files")?
Regards,
Radu

Re: Bulk Find/Replace Across Multiple Files

Posted: Fri Sep 08, 2023 4:37 am
by galanohan
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.