how to rename - add 20 in front of name if it starts with 18

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

how to rename - add 20 in front of name if it starts with 18

Postby Praysword » Tue Nov 13, 2018 6:36 pm

Hello!

I have a folder with around 250,000 files. A lot of the files inside start with the date, such as:

"181113 Legal Document.docx"

I also have files that are not starting with date.

I also have files that there date is in this format:

"20181113 Legal Document.docx"

I want to use the Bulk Rename Utility on the big folder with the 250,000 files, and do some command to add 20 before all documents that are like this one:

"181113 Legal Document.docx"

The over all purpose is that all documents will start with the full date such as:

"20181113 Legal Document.docx"

Let me know!
Praysword
 
Posts: 1
Joined: Tue Nov 13, 2018 6:30 pm

Re: Help on how to rename

Postby Admin » Wed Nov 14, 2018 12:44 am

Hi, use javascript renaming. Create a script : "if name starts with 18 then add 20 in front". Javascript renaming require a commercial license, if you have one I can post the script for you. thanks
Alternatively, use the filters section to only select files that start with 18 and add 20 in front of those.
Admin
Site Admin
 
Posts: 2343
Joined: Tue Mar 08, 2005 8:39 pm


Return to BRU Support