Hi Guys,
I've got a list of files that I need to move (about 2 million) of those files I have wav and xml files I'm looking for a script to take that list of files and do the following
For each .wav file in list > Move to new location and rename
Names are 15 character number string and need to replace dynamically rename example:
echo F | xcopy Z:\recordings\890001\001\17\92\890001001179247.wav Z:\recordings_2012\890002\001\17\92\890002001179247.wav
Basically files need to go from 890001 directory with filename beginning 89001 to 890002 directory with filename beginning 890002
For each .xml file in list > Move to new location and rename as above also search and replace with regex in file
Example
Look for
and replace with
I could do this in a combination of batch files and notepad++ but if there was a powershell script I could feed data too with a couple of Regular Expressions that would be awesome