Convert Created date to Julian Date for file renaming

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Convert Created date to Julian Date for file renaming

Postby MightyFerengi » Tue May 08, 2018 4:16 pm

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?
MightyFerengi
 
Posts: 2
Joined: Tue May 08, 2018 4:12 pm

Re: Convert Created date to Julian Date

Postby therube » Tue May 08, 2018 5:01 pm

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...)
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm

Re: Convert Created date to Julian Date

Postby MightyFerengi » Tue May 08, 2018 6:21 pm

Thanks therube!

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

%y%j

in the custom field.
MightyFerengi
 
Posts: 2
Joined: Tue May 08, 2018 4:12 pm

Re: Convert Created date to Julian Date

Postby therube » Tue May 08, 2018 6:52 pm

%j, says it is "Day of Year (01-366)".

Which is not a Julian date.

But if it works for you :-).
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm


Return to BRU Support