Page 1 of 1

Convert Created date to Julian Date for file renaming

PostPosted: Tue May 08, 2018 4:16 pm
by MightyFerengi
I have a few hundred files to rename. I need to use a specific naming convention:

filenameYYDDD

YY is the two digit year and DDD is the Julian Calendar date. I see Custom as an option for the Auto Date feature, but nothing I enter there works. Any suggestions?

Re: Convert Created date to Julian Date

PostPosted: Tue May 08, 2018 5:01 pm
by therube
The year part, BRU can do.

8:Auto Date
Code: Select all
Mode: Suffix
Fmt: Custom
Custom: %y


The Julian part, I'd think you'd have to generate those numbers separately, then you could use the Rename-Pairs to do the renaming.
(Actions | Import Rename-Pairs...)

Re: Convert Created date to Julian Date

PostPosted: Tue May 08, 2018 6:21 pm
by MightyFerengi
Thanks therube!

I found BRU already has Julian Calendar built in, just use:

%y%j

in the custom field.

Re: Convert Created date to Julian Date

PostPosted: Tue May 08, 2018 6:52 pm
by therube
%j, says it is "Day of Year (01-366)".

Which is not a Julian date.

But if it works for you :-).