Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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

share|improve this answer
    
|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

Try Powershell:

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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