Page 1 of 1

Batch Convert\Filename YYYY not an option?

Posted: Sat Jan 21, 2017 8:19 pm
by gaikokujinkyofusho
I was trying to use XNviewMP to reorganize my photos by year\year-month\filename (yyyy\yyyy-mm\fn). Thankfully MP allows the usage of "date taken" and "date digitized" (an option strangely absent from many programs) so I thought I could use a mask like:

{EXIF:Date Digitized [Y]}\{EXIF:Date Digitized [Y-m]}\{Filename With Ext}

But every time I do it gives me

YY\YY-mm\filename

I have tried a few variations like:

{EXIF:Date Digitized [YY]}\{EXIF:Date Digitized [YY-m]}\{Filename With Ext}
{EXIF:Date Digitized [YYYY]}\{EXIF:Date Digitized [YYYY-m]}\{Filename With Ext}

but nada, no matter what I still get a two digit year, is there a way so specify a four digit year?

Thx in advance!

Re: Batch Convert\Filename YYYY not an option?

Posted: Sun Jan 22, 2017 12:30 am
by XnTriq
Could you please give Tools » Import and sort... a try, gaikokujinkyofusho?

Related:

Re: Batch Convert\Filename YYYY not an option?

Posted: Sun Jan 22, 2017 2:37 am
by gaikokujinkyofusho
Thanks. I guess I should have mentioned that I had tried Import and sort but it didn't allow a customization format but more importantly its not clear to me where its getting the dates from (file creation date, exif digitized date, does it default to modified date if the others don't exist).

You are right, the link you referred me to is related as they seem to be looking for something similar, I can certainly give photomove a try, I was hoping I could accomplish it via "batch rename" as its *so*close* to having what I needed but considering the XnView/XnViewMP have a phenomenal number of features I can't complain ;)

Thanks for the suggestions and I will give photomove a try.

Re: Batch Convert\Filename YYYY not an option?

Posted: Sun Jan 22, 2017 3:09 pm
by helmut
As XnTriq pointed out in his answer and links, batch rename of XnView supports only one destination directory at the moment. You cannot specify subpaths in the filename template.
gaikokujinkyofusho wrote:..
c\{EXIF:Date Digitized [YY-m]}\{Filename With Ext}
{EXIF:Date Digitized [YYYY]}\{EXIF:Date Digitized [YYYY-m]}\{Filename With Ext}

but nada, no matter what I still get a two digit year, is there a way so specify a four digit year?
{EXIF:Date Digitized [y]} should output the year without century; in my case it worked fine and output "17".