Page 1 of 1

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

PostPosted: Thu May 18, 2017 6:07 am
by ScottK
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.

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

PostPosted: Thu May 18, 2017 10:39 am
by KenP
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.

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

PostPosted: Fri May 19, 2017 12:09 am
by Admin
Yes, it can be done with a JavaScript script in BRU if interested. thanks

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

PostPosted: Fri May 19, 2017 4:47 am
by ScottK
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.

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

PostPosted: Fri May 19, 2017 11:59 am
by Admin
Nice! :)