Batch Rename by Xnview Categories

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

solowing
Posts: 17
Joined: Sat Jun 05, 2021 11:04 am

Batch Rename by Xnview Categories

Post by solowing »

Would it be possible to add the ability to rename files using the categories applied to them? I want to be able to organize my photos by tagging them and then having them sorted/grouped in the file system by relation.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Rename by Xnview Categories

Post by xnview »

not IPTC or XMP categories, but the catalog's categories, right?
Pierre.
solowing
Posts: 17
Joined: Sat Jun 05, 2021 11:04 am

Re: Batch Rename by Xnview Categories

Post by solowing »

Yes, the catalog's categories.
solowing
Posts: 17
Joined: Sat Jun 05, 2021 11:04 am

Re: Batch Rename by Xnview Categories

Post by solowing »

Hello again!

Does this idea seem feasible?
User avatar
michel038
XnThusiast
Posts: 1273
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Batch Rename by Xnview Categories

Post by michel038 »

Until the "categories" field is available in batch rename, you can select the files with the categories filter and rename them by manually adding the category in the rename field.(or only move files if it's your aim)
You can also do this in two steps, if your files support metadata (like jpg?) : Copy the categories into a metadata, the most relevant being IPTC Keywords, and batch rename with iptc keywords...

For photos, I much prefer a keyword classification rather than a thematic classification in folders.
So I use Tools>Settings>Metadata>Export categories to xmp and iptc keywords to have my categories saved as standard keywords in photos. Other cataloging software recognizes these keywords, but would not be able to retrieve only the categories from XnViewMP.
(if categories are your only tagging method, don't forget to backup them by copying xnview.db file)

If I need to create a folder with photos matching complex criteria, it is easy to do so from keyword filtering, or using batch renaming with iptc keywords...
solowing
Posts: 17
Joined: Sat Jun 05, 2021 11:04 am

Re: Batch Rename by Xnview Categories

Post by solowing »

This is actually for the purpose of organizing illustrated images, not photos. I'm aware that writing to the images' metadata is an option and I'm still considering that, but I'd prefer not to go that route if I can keep it all in the XnView catalog instead.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Rename by Xnview Categories

Post by xnview »

See issue for current status and some details.
Pierre.
solowing
Posts: 17
Joined: Sat Jun 05, 2021 11:04 am

Re: Batch Rename by Xnview Categories

Post by solowing »

Much appreciated. Thank you!
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Rename by Xnview Categories

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.99.4. Please check and confirm the bug fix here.
Pierre.
solowing
Posts: 17
Joined: Sat Jun 05, 2021 11:04 am

Re: Batch Rename by Xnview Categories

Post by solowing »

Hi Pierre, I've tried testing the feature. I can't seem to get it to do anything, though.

It should be in Batch Rename > Name Template > Extra > Categories, right? Or is it something else?

I've uploaded a picture here that may illustrate what I mean.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Rename by Xnview Categories

Post by xnview »

solowing wrote: Tue Dec 07, 2021 11:25 am It should be in Batch Rename > Name Template > Extra > Categories, right? Or is it something else?

I've uploaded a picture here that may illustrate what I mean.
All seems to be correct, but it works here. If you add "{Categories}" in tooltips, is it working?
Pierre.
solowing
Posts: 17
Joined: Sat Jun 05, 2021 11:04 am

Re: Batch Rename by Xnview Categories

Post by solowing »

Hm... I'm not sure I understand what you mean. What tooltips?
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Rename by Xnview Categories

Post by xnview »

solowing wrote: Tue Dec 07, 2021 12:35 pm Hm... I'm not sure I understand what you mean. What tooltips?
Settings>Browser - tooltips?
Pierre.
solowing
Posts: 17
Joined: Sat Jun 05, 2021 11:04 am

Re: Batch Rename by Xnview Categories

Post by solowing »

Oh, I see. Yes, that works.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Rename by Xnview Categories

Post by xnview »

solowing wrote: Tue Dec 07, 2021 11:35 pm Oh, I see. Yes, that works.
and not in 'batch rename'??
Pierre.
Post Reply