How do you Rename Date (YYYY-MM-YY) then (FOLDER)

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

How do you Rename Date (YYYY-MM-YY) then (FOLDER)

Postby ScottK » Thu May 18, 2017 6:07 am

Hi,

I have searched the forum and seem to be unable to find a solution to my problem: I need to rename files to start with DATE then SUBFOLDER, i.e.
YYYY-MM-DD SUBFOLDER FILENAME

I can use Auto-Date (8) and Append Folder Name (9) but choosing Prefix on both of these always places FOLDERNAME before DATE, and I would like the reverse.

I would love the Append Folder Name (9) to have Insert at Position, the same as Add (7).

Any thoughts?

Cheers, Scott.
ScottK
 
Posts: 2
Joined: Thu May 18, 2017 5:59 am

Re: How do you Rename Date (YYYY-MM-YY) then (FOLDER)

Postby KenP » Thu May 18, 2017 10:39 am

I don't think you can do this in one operation, you'll need to prefix the folder-name then rename the files before prefixing the date.

You may be able to do it in one operation with JavaScript if you have a commercial licence, I'm not sure.
KenP
 
Posts: 193
Joined: Sat Jul 30, 2016 11:25 am

Re: How do you Rename Date (YYYY-MM-YY) then (FOLDER)

Postby Admin » Fri May 19, 2017 12:09 am

Yes, it can be done with a JavaScript script in BRU if interested. thanks
Admin
Site Admin
 
Posts: 1465
Joined: Tue Mar 08, 2005 8:39 pm

Re: How do you Rename Date (YYYY-MM-YY) then (FOLDER)

Postby ScottK » Fri May 19, 2017 4:47 am

Thanks for the replies.

I had written a batch file to unzip the files first, so I added a REN (rename) line to the batch process to prefix the FOLDER NAME, then used BRU to move it all around.

Cheers.
ScottK
 
Posts: 2
Joined: Thu May 18, 2017 5:59 am

Re: How do you Rename Date (YYYY-MM-YY) then (FOLDER)

Postby Admin » Fri May 19, 2017 11:59 am

Nice! :)
Admin
Site Admin
 
Posts: 1465
Joined: Tue Mar 08, 2005 8:39 pm


Return to BRU Support


cron