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 a very big job to do.

I have about 930 pictures which are called like:

  • 5210841 Tuinset Senator.jpg
  • 5210898 Traptrede Premium.jpg

etc.

I'm looking for a way to rename these pictures, without losing the number part.

So for the first one, its name would be:

  • 5210841.jpg

and the second

  • 5210898.jpg

Can you guys think about a program which can do this job?

It's for a Windows platform.

share|improve this question
    
it's for windows –  Chris Feb 28 '10 at 18:20
    
Found it, File Renamer Basic does the job, You can choose from which character you want to delete the rest. I set it from 8 to 255 –  Chris Feb 28 '10 at 18:44

4 Answers 4

up vote 5 down vote accepted

Use Total Commander - it's shareware (but the only limitation is a nag screen at startup). It has a very powerful batch rename option and is a great file manager overall.

share|improve this answer

As long as all the numbers are the same amount of digits like the example then the standard Windows rename should do it:

C:\FolderOfPictures>ren *.jpg ???????.*

If you need the first 10 characters like the question title, use 10 question marks. One for each character you want to keep. :)

share|improve this answer

With the rename utility you can do:

rename 's/^(\d*)(.*)\.jpg/$1.jpg/' *.jpg

Don't know whether this exists on windows though.

share|improve this answer

Found it, File Renamer Basic does the job, You can choose from which character you want to delete the rest. I set it from 8 to 255

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.