KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have an ITunes library XML file backup file - about 15 MB. I have 20K music files on my C drive and about 25K files on E drive under exactly similar folder structures. I am traversing the first location and going file by file and checking if the file exiss in the second location. That part works for me. Now, for all such duplicate files, if the file path from E drive exists in the XML, but the C drive path does not exist in the XML, then I want to delete the file from the C drive. What is my best way of checking if a string exists in the XML file (I have to do this atleast 20K times)?
Tags (comma-separated)
Save Edits
Cancel