Batch rename problem - 1.98.5

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
dosdan
Posts: 17
Joined: Mon Sep 15, 2008 3:07 am
Location: Brisbane

Batch rename problem - 1.98.5

Post by dosdan »

Not sure if this is a bug, a possible enhancement or a lack of understanding:

I wanted to remove a bracketed number from a group of filesnames e.g.

K5__6317 (10576).JPG -> K5__6317.JPG
K5__6324 (11206).JPG -> K5__6324.JPG

In Batch Rename, I tried:

Replace: K5__#### (#####)
With: K5__####

and

Replace: K5__#### (#####).JPG
With: K5__####.JPG

and

Replace: (#####)
With: [field left blank]

How do I do this?

Dan
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Batch rename problem - 1.98.5

Post by Peter2 »

I suppose that you need Wildcards and RegEx (regular expressions) http://www.google.com/search?sitesearch ... 20&bih=923 for this job - and I believe that XnView has some limits.

Maybe take a look here: Recommended File-Rename-Tools?
http://newsgroup.xnview.com/viewtopic.php?f=38&t=17400

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
Post Reply