Batch Rename - EXIF subsec

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

Anna
Posts: 3
Joined: Tue Jun 20, 2023 7:12 pm

Batch Rename - EXIF subsec

Post by Anna »

Hi,

I do have a problem wit the batch renaming function and I think the problem may be me not the software.

I do use batch rename to rename my Photos like so
{EXIF:Date Taken [YmsHMS]}

which results in something like this
20230620211903.NEF

The thing is when doing continious shooting I have more than one pic of the same second. Can be up to ten.

This is where I looked into the EXIF and there is the subsec value but i can not see a way to include it. It can be done or ?

The desired output would be someting like this
2023062021190309.NEF
2023062021190321.NEF

I looked into the naming conflict option to solve my problem as I do not need the subsec although it would be nice.
I configure a suffix of ## enable always and select number.

The desired output would be someting like this
2023062021190301.NEF
2023062021190302.NEF

But the Result is something like this
20230620211903.NEF
2023062021190301.NEF
2023062021190302.NEF
20230620211904.NEF

I already updated to XnView MP Linux 1.4.5 64bits (May 10 2023) as I was running an older Version from 2021 but it made no difference

What am I doing wrong?

All the best
Anna
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Batch Rename - EXIF subsec

Post by xnview »

could you send me a sample file?
Pierre.
User avatar
user0
XnThusiast
Posts: 2007
Joined: Sat May 09, 2015 9:37 am

Re: Batch Rename - EXIF subsec

Post by user0 »

for example how Advanced Renamer handle such cases

Image
Franky
Posts: 263
Joined: Fri Mar 06, 2020 1:28 pm
Location: France - BZH

Re: Batch Rename - EXIF subsec

Post by Franky »

Hi,

You want ### being reset to each different names ?
You must use "duplication"
XNViewMP_Renommer par lot_.png
Otherwise to have what you presented in your screenshot, you try this {EXIF:Date Taken [Ymd_HMS]}_###
XNViewMP_Renommer par lot.png
You do not have the required permissions to view the files attached to this post.
Anna
Posts: 3
Joined: Tue Jun 20, 2023 7:12 pm

Re: Batch Rename - EXIF subsec

Post by Anna »

Hi everyone :)
xnview wrote: Thu Jun 22, 2023 1:39 pm could you send me a sample file?
I send you an Email with out of camera JPGs because the NEFs are to big.

user0 wrote: Thu Jun 22, 2023 2:47 pm for example how Advanced Renamer handle such cases
It looks like it can use Subsec, but it seems to be Windows only and I really like XnviewMP so I hope I can achieve the same in Xnview.

Franky wrote: Thu Jun 22, 2023 5:28 pm You want ### being reset to each different names ?
Yes

Franky wrote: Thu Jun 22, 2023 5:28 pm You must use "duplication"
I did that but that results in a shorter Filename if there is no duplicate as ### is only appended if there is a duplicate file. I would rather like to append ### to every filename so that the length is consistent.

A filename like YmsHMSU where U is subsec in two digits would be consistent.

All the best
Anna
Franky
Posts: 263
Joined: Fri Mar 06, 2020 1:28 pm
Location: France - BZH

Re: Batch Rename - EXIF subsec

Post by Franky »

Normally "s" represents the fraction of a second on one or more figures but it doesn't work.
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Batch Rename - EXIF subsec

Post by xnview »

Please use

Code: Select all

{EXIF:x9290}
Pierre.
Anna
Posts: 3
Joined: Tue Jun 20, 2023 7:12 pm

Re: Batch Rename - EXIF subsec

Post by Anna »

xnview wrote: Wed Jun 28, 2023 1:36 pm Please use

Code: Select all

{EXIF:x9290}
Hi,

my final rename template looks like this

Code: Select all

{EXIF:Date Taken [YmdHMS]}{EXIF:x9290}
And the result looks like this:

Code: Select all

2023061417270272.NEF
2023061417270283.NEF
2023061417270294.NEF
2023061417270305.NEF
2023061417270316.NEF
2023061417270328.NEF
2023061417270339.NEF
2023061417270350.NEF
2023061417270361.NEF
2023061417270372.NEF
2023061417270383.NEF
2023061417270394.NEF
2023061417270405.NEF
This is exactly what I wanted.

Thank you very much for your help.

All the best
Anna