Adding space wnen spliting 3 chars in random locations

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

Adding space wnen spliting 3 chars in random locations

Postby shura » Sat Jan 26, 2019 5:40 am

Hello! It maybe answered already, but am a new user BRU, still learning and a bit confused.
Need help how i can split a 3 chars with space, located at different positions in file name. Have a hundreds music files
where words connected with dash. I want split it with spaces, but leaving dash intact .
Sample:
1-file name - singer-info
Need :
1 - file name - singer - info
I know how manually do that, but there hundreds files and i looking how automate this. Scripts, wild cards, etc..?
Thank you in advance.
shura
 
Posts: 2
Joined: Sat Jan 26, 2019 5:24 am

Re: Adding space wnen spliting 3 chars in random locations

Postby therube » Sat Jan 26, 2019 6:07 pm

Maybe two passes will do it?

3:Replace
Code: Select all
Replace:  <sp>-<sp>
With:  -

Rename.

Then
Code: Select all
Replace:  -
With:  <sp>-<sp>

Rename.


Note that there are likely to be some "breakages".
Like the group name, "A-ha", would come out as "A - ha" (but then you might have its name as "Aha" rather then "A-ha").
therube
 
Posts: 1319
Joined: Mon Jan 18, 2016 6:23 pm

Re: Adding space wnen spliting 3 chars in random locations

Postby shura » Sun Jan 27, 2019 12:29 am

therube wrote:Maybe two passes will do it?

3:Replace
Code: Select all
Replace:  <sp>-<sp>
With:  -

Rename.

Then
Code: Select all
Replace:  -
With:  <sp>-<sp>

Rename.


Note that there are likely to be some "breakages".
Like the group name, "A-ha", would come out as "A - ha" (but then you might have its name as "Aha" rather then "A-ha").


You are absolutely right! Two passes! I find that myself :) But , i repeat, you are right and thank you so much for answer :D
shura
 
Posts: 2
Joined: Sat Jan 26, 2019 5:24 am


Return to BRU Support