#1 2013-01-24 17:50

hoi
Member
Registered: 2013-01-24
Posts: 7

Swap parts at hyphen and exchange hyphen to dot

need help rename 7k files mkv, vob, avi == NOT a good issue description !



Hi
I have a bout 7k files need to be rename i have done a lot removed now  i am stuck on this please help

Anne Murray - You Needed Me             want to rename to     You Needed Me .Anne Murray
Diem Thu - Hay De Mua Roi                 want to rename to     Hay De Mua Roi .Diem Thu
Thanh Tung - Van Hat Loi Tinh Yeu      want to rename to     Van Hat Loi Tinh Yeu .Thanh Tung
Tu Qinh - Pho Bien                             want to rename to     Pho Bien .Tu Qinh


Thanks
hoi

Offline

#2 2013-01-24 20:01

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Swap parts at hyphen and exchange hyphen to dot

Hi and welcome hoi!



FROM:
Anne Murray - You Needed Me
Diem Thu - Hay De Mua Roi
Thanh Tung - Van Hat Loi Tinh Yeu
Tu Qinh - Pho Bien


TO:
You Needed Me .Anne Murray
Hay De Mua Roi .Diem Thu
Van Hat Loi Tinh Yeu .Thanh Tung
Pho Bien .Tu Qinh


USE e.g. Rearrange Rule:
Rearrange Rule: Split by delimiters " - ", New pattern "$2 .$1" (skip extension)



Explanation:
- Split string into two parts at " - ", store the matches into var $1 and  $2
- Create the New Pattern by reorder those stored parts to "$2 .$1", and add the space and dot yourself.


Note: Quote " " are only used for clarification. Don't use them in real.


WIKI for more info:
http://www.den4b.com/wiki/ReNamer:Rules:Rearrange
http://www.den4b.com/wiki/ReNamer:Rules … e_Examples




HTH?


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#3 2013-01-27 01:33

hoi
Member
Registered: 2013-01-24
Posts: 7

Re: Swap parts at hyphen and exchange hyphen to dot

Thanks for your help Stefan I got it Done  a lot but haft of the files names ican't be done.
Don't know what i did wrong please help


-from
You Needed Me - Anne Murray
Hay De Mua Roi - Diem Thu
Van Hat Loi Tinh Yeu - Thanh Tung
Pho Bien - Tu Qinh

- I got this
You Needed Me . Anne Murray
Hay De Mua Roi . Diem Thu
Van Hat Loi Tinh Yeu . Thanh Tung
Pho Bien . Tu Qinh

-Wanted
You Needed Me .Anne Murray
Hay De Mua Roi .Diem Thu
Van Hat Loi Tinh Yeu .Thanh Tung
Pho Bien .Tu Qinh

now all files still look like this     You Needed Me - Anne Murray

Thanks

Offline

#4 2013-01-27 15:20

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Swap parts at hyphen and exchange hyphen to dot

Hi hoi,

if i use
Rearrange Rule: Split by delimiters " - ", New pattern "$2 .$1" (skip extension)

on your examples, i get your -Wanted.





If you really use this rule as shown, you will get

-Wanted
You Needed Me .Anne Murray

and not
You Needed Me . Anne Murray


I do not see your problem.
Maybe post an link to an screen shot for clarifying.

.


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#5 2013-01-27 16:41

hoi
Member
Registered: 2013-01-24
Posts: 7

Re: Swap parts at hyphen and exchange hyphen to dot

23rlk4i.jpg

Thanks

Offline

#6 2013-01-27 17:14

hoi
Member
Registered: 2013-01-24
Posts: 7

Re: Swap parts at hyphen and exchange hyphen to dot

I found the problem I need to add rule delete blank in the front of the file name 1st then I can do your step because my files.
I have an other question how to add sequence number in front of 17, 000 files name
I want to say thanks for your times. With out this software it can't be done
hoi wink

znpz0w.jpg

Last edited by hoi (2013-01-27 17:27)

Offline

#7 2013-01-27 17:24

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Swap parts at hyphen and exchange hyphen to dot

So the challenge was

FROM:
"  Anne Murray - You Needed Me.ext"

TO:
"You Needed Me .Anne Murray.ext"



Solved? Fine.
Good work,  hoi!





.


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

Board footer

Powered by FluxBB