I have lots of old recorded video files of my kids which I wish to convert their names and get rid of the semicolons (;) and convert it to underscores (_). The file names looks like that:
Clip-2007-01-23 20;29;41-1.mkv
So I tried to use the following PS method:
Get-ChildItem -Filter "*;*" -Recurse | Rename-Item -NewName {$_.name -replace ';','_' }
But this is not working for me and after some analysis I figure out that the semicolons are not as they looks like but represented differently when looking into the file HEX representation... Each of the semicolons (;) signs in the file name is actually [CD] [BE] hex representation. see here 1 :
|43 6C 69 70 2D 32 30 30|37 2D 30 31 2D 32 33 30|
|32 30 CD BE 32 39 CD BE|34 31 2D 31 2E 6D 6B 76|
So my question is how can I do this file rename?
Thank in advance