#1 : 20/01-19 14:23 giov
Posts: 3
|
so...I need help writing a script (or any other way) to rename some folders using the name of the first file inside it.
My folders look like this: Name1 Name2 Name3 etc. and the files inside like this: Name1_1[8x8].jpg Name1_2[8x9].jpg Name1_3[9x8].jpg etc Name2_1[90x90].jpg Name2_2[81x82].jpg etc Name3_1[700x800].jpg Name3_2[815x800].jpg etc In the end, the folders should look like: Name1[8x8] Name2[90x90] Name3[700x800] etc I've tried saving all the filenames to an array, initiated pre-batch, but that doesn't save it for later use in another script. I've tried saving all the filenames to a text file, but I can't call on it later using js. Maybe I'm going about this the wrong way, I'm not an experienced coder, never really used js in my life before getting this program...so probably there is a way I'm not thinking of. If you know anything about this, please help. Thank you!! |
#2 : 21/01-19 14:04 L B
Posts: 74
|
Reply to #1:
ARen has the ability to import lists in the form of delimited text files. Maybe you can create the same using a spreadsheet and then import it into ARen and rename your folders that way. More info here: https://www.advancedrenamer.com/user_guide/impor t |