3

I have about 3500 recorded phone calls and they are all labelled

yyyy_mm_dd_hh_mm_mobilenumber.3gp

I want to remove the underscore from the name so searching through them is easier

How would I do this, i.e which program or caommand is the easiest to do this.

I am using Windows 7.

5

In addition to Jacks answer: If your files are stored in subfolders, you could use this command.
In Powershell, navigate to the root folder and execute:

get-childitem -recurse -Include *.3gp | foreach { rename-item $_ $_.Name.Replace("_", "") }

If you prefer a non-command line version, you could use Rename Master

enter image description here

  • |This utility is quite good, I've used rename programs before and they were so confusing and didn't even come with proper instruction. This one is great! Thumps up! – Aasim Azam Aug 15 '13 at 19:22
  • How would the script change if it was a "." instead of "_" that I wanted to remove. For eg, if the input file was "yyyy.mm.dd.hh.mm.mobilenumber.3gp". – Regmi Sep 23 '13 at 18:23
4

Try Powershell:

get-childItem *.3gp | rename-item -newname { $_.name -replace '_','' }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.