Page 1 of 1

Multiple File Renamer According to the Folder Name withNumbe

PostPosted: Tue Oct 10, 2017 11:11 pm
by david617
Hi,
I like to Rename my Files names with numbers according to the folder which is placed. I like to do this in loop format that can repeat for multiple Folders in orders.
For example I have 2 Folders. Spain(15 files) and Austria (20 files). My Spain folder's file is like 01(01),02(02)... and My Austria folder's file is like 01(01),02(02)....
I would like to change the Spain's folder files as Spain 01, Spain 02 and so on. The same with Austria Folder's Files as Austria 01, Austria 02.
I have like 480 Folders and I don't want to have same name as it count duplicate if I want to drag them all into cloud. (With some cloud back up it skipped if you the same file name)
I would be grateful if you tell me how can I make command into loop without changing the format of my files.
Regards,
David

Re: Multiple File Renamer According to the Folder Name withNumbe

PostPosted: Tue Oct 10, 2017 11:54 pm
by KenP
This should work.

In tree window select the parent directory.

Filters (12)
Folders: Unchecked
Subfolders: checked

In the main window select all the files.

Append Folder Name (9)
Name: Prefix

Rename

Reset

RegEx (1)
Match: ^(.*)(\d{2})\(.*
Replace: \1 \2

Re: Multiple File Renamer According to the Folder Name withNumbe

PostPosted: Wed Oct 11, 2017 3:36 am
by david617
Thanks for your email. I will try it and let you know. Very helpful.
Regards,
David

Re: Multiple File Renamer According to the Folder Name withNumbe

PostPosted: Wed Oct 11, 2017 9:55 am
by KenP
email :?

Re: Multiple File Renamer According to the Folder Name withNumbe

PostPosted: Wed Oct 11, 2017 9:30 pm
by david617
Thanks a lot.
Untill append Folder Name 9 I understand what to do. I tested 2 folders. But
Match: ^(.*)(\d{2})\(.* I cannot find where to put it. Could you help me with that please? and do I have to reset rename and reset after Append 9 or after RegEx (1)
Match: ^(.*)(\d{2})\(.* Replace: \1 \2 ?
I would be grateful if you could help me.
Regards,
David

Re: Multiple File Renamer According to the Folder Name withNumbe

PostPosted: Thu Oct 12, 2017 1:34 am
by KenP
Do it in this order.

    • In tree window select the parent directory.
    • Filters (12)
      Folders: Unchecked
      Subfolders: checked
    • In the main window select all the files.
    • Append Folder Name (9)
      Name: Prefix
    • Rename
    • Reset
    • Filters (12)
      Folders: Unchecked
      Subfolders: checked
    • In the main window select all the files.
    • RegEx (1)
      Match: ^(.*)(\d{2})\(.*
      Replace: \1 \2
    • Check the new names.
    • Rename



david617 wrote: But
Match: ^(.*)(\d{2})\(.* I cannot find where to put it. Could you help me with that please?


Image

Re: Multiple File Renamer According to the Folder Name withNumbe

PostPosted: Thu Oct 12, 2017 7:53 pm
by david617
Hi,
Thanks for your email. It is amazing. But I tested two folders. it didn't change the subfolders name (01,02,03,04...). So far I have managed to copy the name of of the folder to the all files in the folder. Please look at the screenshot.
My new file should look like: Cooking Pictures 01, Cooking Pictures 02, Cooking Pictures 03, Cooking Pictures 05, Fact Stories 01, Fact Stories 02, Fact Stories 03, Fact Stories 03... .
This is my final step.
I would be grateful if you could help me. :D
Regards,
David

file:///C:/Users/navid/Pictures/Recently%20Added%20Photos/Bulk%20Rename%20Utility.JPG

Re: Multiple File Renamer According to the Folder Name withNumbe

PostPosted: Thu Oct 12, 2017 11:36 pm
by KenP
david617 wrote:Hi,
Thanks for your email. It is amazing. But I tested two folders. it didn't change the subfolders name (01,02,03,04...). So far I have managed to copy the name of of the folder to the all files in the folder. Please look at the screenshot.
My new file should look like: Cooking Pictures 01, Cooking Pictures 02, Cooking Pictures 03, Cooking Pictures 05, Fact Stories 01, Fact Stories 02, Fact Stories 03, Fact Stories 03... .
This is my final step.
I would be grateful if you could help me. :D
Regards,
David

file:///C:/Users/navid/Pictures/Recently%20Added%20Photos/Bulk%20Rename%20Utility.JPG

You didn't say you wanted to change the sub-folder name :?

Can't see the image because it's on your computer, you need to host the image on an image hosting site such as Imgur, you can then link to the image in your post here.

Re: Multiple File Renamer According to the Folder Name withNumbe

PostPosted: Fri Oct 13, 2017 11:47 am
by david617
https://imgur.com/UoDj8kJ

I hope you can see my picture. if you cannot just copy and paste in URL in web browser.
Basically, My folders name are very good. I follow your instructions. from halfway down I could rename it. I can only rename the file name according to each multiple folder names inside. how can have Cooking pictures 01, cooking pictures 02.... and fact stories 01, fact stories 02? At moment it is like cooking pic...cooking pic.. and so on.
If you look at my screenshot of the new filename and tree windows folder you will understand what I mean.
please let me know,
Regards
David

Re: Multiple File Renamer According to the Folder Name withNumbe

PostPosted: Fri Oct 13, 2017 12:17 pm
by david617
Image

Re: Multiple File Renamer According to the Folder Name withNumbe

PostPosted: Mon Oct 16, 2017 1:24 am
by david617
Hi,
I manage to get the filename that I want by your steps.
Filter (12)
Folders: unchecked
Subfolder: check

Append Folder Name (9)
Name: Prefix

Name (2):
Name: Remove

Numbering (10):
Mode: Suffix
Start: 1
Pad: 2
Folder: Checked

Auto Date:
Type: Keep (Original Dates)

Then Rename
How can I have space between the filename and the numbers?
I would be grateful if you could tell me?

Regards,
David