Mercurial > ec-dotfiles
comparison bin/ren @ 287:d55ff9c0158a
More ren rules.
| author | Edho Arief <edho@myconan.net> |
|---|---|
| date | Thu, 12 Jan 2012 15:02:53 +0700 |
| parents | 5ef99c47e636 |
| children | 9fbebccde4e3 |
comparison
equal
deleted
inserted
replaced
| 286:5bed5473ab29 | 287:d55ff9c0158a |
|---|---|
| 54 $newname =~ s/\] Seikon no Qwaser Picture Drama - (\d+) /] Seikon no Qwaser - Picture Drama $1 /i; | 54 $newname =~ s/\] Seikon no Qwaser Picture Drama - (\d+) /] Seikon no Qwaser - Picture Drama $1 /i; |
| 55 $newname =~ s/\] Fortune Arterial Akai Yakusoku - /] Fortune Arterial - /; | 55 $newname =~ s/\] Fortune Arterial Akai Yakusoku - /] Fortune Arterial - /; |
| 56 $newname =~ s/\[HorribleSubs\] Hunter X Hunter - /[HorribleSubs] Hunter x Hunter (2011) - /i; | 56 $newname =~ s/\[HorribleSubs\] Hunter X Hunter - /[HorribleSubs] Hunter x Hunter (2011) - /i; |
| 57 $newname =~ s/\] Ookami to Koushinryou - /] Spice and Wolf - /; | 57 $newname =~ s/\] Ookami to Koushinryou - /] Spice and Wolf - /; |
| 58 $newname =~ s/\] Saint Seiya The Lost Canvas - /] Saint Seiya - The Lost Canvas - /; | 58 $newname =~ s/\] Saint Seiya The Lost Canvas - /] Saint Seiya - The Lost Canvas - /; |
| 59 $newname =~ s/\] Love GetChu - /] Love Get Chu - /i; | |
| 59 $newname =~ s/\] Kamen Rider Blade /] Kamen Rider Blade /i; | 60 $newname =~ s/\] Kamen Rider Blade /] Kamen Rider Blade /i; |
| 60 $newname =~ s/\] Mobile Suit Gundam AGE - /] Gundam AGE - /i; | 61 $newname =~ s/\] Mobile Suit Gundam AGE - /] Gundam AGE - /i; |
| 61 $newname =~ s/\] Soredemo Machi wa Mawatte Iru - /] Soredemo Machi wa Mawatteiru - /; | 62 $newname =~ s/\] Soredemo Machi wa Mawatte Iru - /] Soredemo Machi wa Mawatteiru - /; |
| 62 $newname =~ s/\] Spiral - (\d+) .* \[640 x 480\]\[H\.264\]/] Spiral - $1 /; | 63 $newname =~ s/\] Spiral - (\d+) .* \[640 x 480\]\[H\.264\]/] Spiral - $1 /; |
| 63 $newname =~ s/\] Mayo Chiki - / ] Mayo Chiki! - /i; | 64 $newname =~ s/\] Mayo Chiki - /] Mayo Chiki! - /i; |
| 65 $newname =~ s/\] Mai Hime - /] My-HiME - /i; | |
| 64 $newname =~ s/\] Naruto Shippuden - /] Naruto Shippuuden - /i; | 66 $newname =~ s/\] Naruto Shippuden - /] Naruto Shippuuden - /i; |
| 65 $newname =~ s/\] Maji de Watashi ni Koi Shinasai!! /] Maji de Watashi ni Koi Shinasai! /i; | 67 $newname =~ s/\] Maji de Watashi ni Koi Shinasai!! /] Maji de Watashi ni Koi Shinasai! /i; |
| 66 $newname =~ s/\] Sei Juushi Bismarck /] Sei Juushi Bismark /i; | 68 $newname =~ s/\] Sei Juushi Bismarck /] Sei Juushi Bismark /i; |
| 67 $newname =~ s/\] Tamayura - hitotose - /] Tamayura ~hitotose~ - /i; | 69 $newname =~ s/\] Tamayura - hitotose - /] Tamayura ~hitotose~ - /i; |
| 68 $newname =~ s/\] Yumekui Merry /] Dream Eater Merry /i; | 70 $newname =~ s/\] Yumekui Merry /] Dream Eater Merry /i; |
| 71 $newname =~ s/\] *rockman exe axess /] Rockman.EXE Axess /i; | |
| 69 $newname =~ s/^Arigatou\.Tsubasa\.Chronicles\.(|2\.)(\d{2})(|v2)\./[Arigatou] Tsubasa Chronicles $1 - $2$3/; | 72 $newname =~ s/^Arigatou\.Tsubasa\.Chronicles\.(|2\.)(\d{2})(|v2)\./[Arigatou] Tsubasa Chronicles $1 - $2$3/; |
| 70 $newname =~ s/^Niea\.Under\.Seven\.(\d+)\.\(Dual\.Audio\)\.XVID\.\[AM\]/[AM] Niea Under Seven - $1/; | 73 $newname =~ s/^Niea\.Under\.Seven\.(\d+)\.\(Dual\.Audio\)\.XVID\.\[AM\]/[AM] Niea Under Seven - $1/; |
| 71 $newname =~ s/ Tsubasa Chronicles 2\. - / Tsubasa Chronicles 2 /; | 74 $newname =~ s/ Tsubasa Chronicles 2\. - / Tsubasa Chronicles 2 /; |
| 72 $newname =~ s/ *Moritasan wa Mukuchi */ Morita-san wa Mukuchi /i; | 75 $newname =~ s/ *Moritasan wa Mukuchi */ Morita-san wa Mukuchi /i; |
| 73 $newname =~ s/ Hanasakeru Seishonen / Hanasakeru Seishounen /i; | 76 $newname =~ s/ Hanasakeru Seishonen / Hanasakeru Seishounen /i; |
| 153 $newname =~ s/ Maria( |†)Holic / Maria+Holic /i; | 156 $newname =~ s/ Maria( |†)Holic / Maria+Holic /i; |
| 154 $newname =~ s/ C³ / C3 - Cube x Cursed x Curious /i; | 157 $newname =~ s/ C³ / C3 - Cube x Cursed x Curious /i; |
| 155 $newname =~ s/ C3 Cube x Cursed x Curious / C3 - Cube x Cursed x Curious /i; | 158 $newname =~ s/ C3 Cube x Cursed x Curious / C3 - Cube x Cursed x Curious /i; |
| 156 $newname =~ s/ Fate( ⁄ | )Zero / Fate-Zero /i; | 159 $newname =~ s/ Fate( ⁄ | )Zero / Fate-Zero /i; |
| 157 $newname =~ s/ Pollyanna Episode / Pollyanna /; | 160 $newname =~ s/ Pollyanna Episode / Pollyanna /; |
| 161 $newname =~ s/ Ef - A Fairy Tale of the Two / ef - A Fairy Tale of the Two /i; | |
| 162 $newname =~ s/ Ef - A Fairy Tale of the Two-/ ef - A Fairy Tale of the Two -/i; | |
| 158 $newname =~ s/^Legend of Galactic Heroes - (\d+) \(([A-F0-9]{8})\) \[Central Anime\]/[Central Anime] Legend of Galactic Heroes - $1 [$2]/; | 163 $newname =~ s/^Legend of Galactic Heroes - (\d+) \(([A-F0-9]{8})\) \[Central Anime\]/[Central Anime] Legend of Galactic Heroes - $1 [$2]/; |
| 159 $newname =~ s/\[Hnk\]/[HnK]/; | 164 $newname =~ s/\[Hnk\]/[HnK]/; |
| 160 $newname =~ s/^Inuyasha - (\d+|\d+-\d+)\[167\] - .*(\[DVD\]\[AHQ\])/Inuyasha - $1 $2/; | 165 $newname =~ s/^Inuyasha - (\d+|\d+-\d+)\[167\] - .*(\[DVD\]\[AHQ\])/Inuyasha - $1 $2/; |
| 161 $newname =~ s/^Saint Seiya Hades OVA - (\d+) \[(AonE-SpA|SpA)\]/[$2] Saint Seiya Hades OVA - $1/; | 166 $newname =~ s/^Saint Seiya Hades OVA - (\d+) \[(AonE-SpA|SpA)\]/[$2] Saint Seiya Hades OVA - $1/; |
| 162 $newname =~ s/\[\d+\] Saint Seiya Hades OVA - (\d+)/[SpA] Saint Seiya Hades OVA - $1/; | 167 $newname =~ s/\[\d+\] Saint Seiya Hades OVA - (\d+)/[SpA] Saint Seiya Hades OVA - $1/; |
| 282 $newname =~ s/ - - / - /g; | 287 $newname =~ s/ - - / - /g; |
| 283 $newname =~ s/ Ep / /ig; | 288 $newname =~ s/ Ep / /ig; |
| 284 ##SLICED BREAD | 289 ##SLICED BREAD |
| 285 #v2 | 290 #v2 |
| 286 $newname =~ s/(\(|\[) *(10bit-v2) *(\)|\])/[v2]/i; | 291 $newname =~ s/(\(|\[) *(10bit-v2) *(\)|\])/[v2]/i; |
| 292 #dvd v2 | |
| 293 $newname =~ s/ \[DVD\] v2/ [v2 DVD]/i; | |
| 287 #nothing | 294 #nothing |
| 288 $newname =~ s/(\(|\[) *(640x480 DivX511 mp3|h\.264-Hi10P|720x480|10-?bit|10bit 480p H264|640x360|640x360 H264 AAC|h264\.aac|hi10p|10bit|\d+th Release|x264\.aac|xvid|divx5\.2\.1|divx5\.1|divx5\.05|divx5\.1\.1|h\.?264 AC3|848x480|H264 848x480|h264-480p AAC|h\.264-480p) *(\)|\])//i; | 295 $newname =~ s/(\(|\[) *(H264 704x400|640x480 DivX511 120fps mp3|640x480 DivX511 mp3|h\.264-Hi10P|720x480|10-?bit|10bit 480p H264|640x360|640x360 H264 AAC|h264\.aac|hi10p|10bit|\d+th Release|x264\.aac|xvid|divx5\.2\.1|divx5\.1|divx5\.05|divx5\.1\.1|h\.?264 AC3|848x480|H264 848x480|h264-480p AAC|h\.264-480p) *(\)|\])//i; |
| 289 #dvd | 296 #dvd |
| 290 $newname =~ s/\[(DVD 10bit)\]/[DVD]/i; | 297 $newname =~ s/\[(DVD 10bit)\]/[DVD]/i; |
| 291 #dvd again | 298 #dvd again |
| 292 $newname =~ s/(\(|\[) *(DVD 720x480 x264 FLAC|R1DVD 720x480 x264 AC-3|DVD 712x480 AC-3|DVD 720x480 AC-3|R\d DVD\.H264\.AC3|DVD 1024x576 x264 FLAC|DVD H264 640x480|DVD H264 720x480 AAC|DVD 704x480 H264 AC3|DVD 704x480|DVDRip\.Xvid\.864x480\.Vorbis|DVD H264 848x480|DVD 720x480|DVD H264 720x480|DVD, wmv, mp3) *(\)|\])/[DVD]/i; | 299 $newname =~ s/(\(|\[) *(R2 DVD\.H264\.AC3|DVD H264 720x480|DVD 720x480 x264 FLAC|R1DVD 720x480 x264 AC-3|DVD 712x480 AC-3|DVD 720x480 AC-3|R\d DVD\.H264\.AC3|DVD 1024x576 x264 FLAC|DVD H264 640x480|DVD H264 720x480 AAC|DVD 704x480 H264 AC3|DVD 704x480|DVDRip\.Xvid\.864x480\.Vorbis|DVD H264 848x480|DVD 720x480|DVD H264 720x480|DVD, wmv, mp3) *(\)|\])/[DVD]/i; |
| 293 #1080p BD | 300 #1080p BD |
| 294 $newname =~ s/(\(|\[) *(BD\]\[h264-1080p FLAC|BD\]\[1080p-FLAC|BD 1080|1920x1080 Hi10p h264 AAC|BD 1920x1080 x264 AAC|BD 1080p Hi10P|BDRip 1080p x264 FLAC|BD-1080p-|BD-1080p-FLAC|1920x1038 Blu-Ray FLAC|1920x1080 Blu-Ray FLAC|1920x1080 h264 BD FLAC|1920x1080 BD|BD\.1080p\.FLAC|BD 1080p H\.264 AAC 5\.1|BD 1080p) *(\)|\])/[1080p BD]/i; | 301 $newname =~ s/(\(|\[) *(BDRip 1080p x264 FLAC|BD Hi10P 1920x1080|BD Hi10P 1920x1080 H264 FLAC|BD 1920x1080 x264 Hi10P FLAC|BD 1920x1080 Hi10P|1920x1080 BD AAC|BD\]\[h264-1080p FLAC|BD-h264-10bit-1080p|BD\]\[1080p-FLAC|BD 1080|1920x1080 Hi10p h264 AAC|BD 1920x1080 x264 AAC|BD 1080p Hi10P|BDRip 1080p x264 FLAC|BD-1080p-|BD-1080p-FLAC|1920x1038 Blu-Ray FLAC|1920x1080 Blu-Ray FLAC|1920x1080 h264 BD FLAC|1920x1080 BD|BD\.1080p\.FLAC|BD 1080p H\.264 AAC 5\.1|BD 1080p) *(\)|\])/[1080p BD]/i; |
| 295 #720p | 302 #720p |
| 296 $newname =~ s/(\(|\[) *(Hi10P 1280x720 H264|Hi10P 1280x720|1280x720 Hi10P|1280x720 5\.1|1280x720 x264 AAC|1280x720 H264 AAC|720p H264 AAC|1280x720|1280x720 H\.?264 AAC) *(\)|\])/[720p]/i; | 303 $newname =~ s/(\(|\[) *(Hi10P 1280x720 H264|Hi10P 1280x720|1280x720 Hi10P|1280x720 5\.1|1280x720 x264 AAC|1280x720 H264 AAC|720p H264 AAC|1280x720|1280x720 H\.?264 AAC) *(\)|\])/[720p]/i; |
| 297 #720p BD | 304 #720p BD |
| 298 $newname =~ s/(\(|\[) *(BD\]\[h264-720p\]\[FLAC|BD Hi10P 1280x720|BD, 720p, 10bit,|BD, 720, 10bit, AAC|BDrip 720p Vorbis|BD 720p Hi10P AAC|BD, 720p,|BD 720p H264-AAC|BDRip 720p|BD, 720p, ,|1280x720 BD|BD 1280x720 H264 AAC|BD 720p|BD 720p FLAC|BD 1280x720 H264 AAC) *(\)|\])/[720p BD]/i; | 305 $newname =~ s/(\(|\[) *(BD, 720p|BD\]\[h264-720p\]\[FLAC|BD Hi10P 1280x720|BD, 720p, 10bit,|BD, 720, 10bit, AAC|BDrip 720p Vorbis|BD 720p Hi10P AAC|BD, 720p,|BD 720p H264-AAC|BDRip 720p|BD, 720p, ,|1280x720 BD|BD 1280x720 H264 AAC|BD 720p|BD 720p FLAC|BD 1280x720 H264 AAC) *(\)|\])/[720p BD]/i; |
| 299 #BD | 306 #BD |
| 300 $newname =~ s/(\(|\[) *(Blu-Ray|BD 540p) *(\)|\])/[BD]/i; | 307 $newname =~ s/(\(|\[) *(Blu-Ray|BD 540p) *(\)|\])/[BD]/i; |
| 301 #576p | 308 #576p |
| 302 $newname =~ s/(\(|\[) *(1024x576|H264 1024x576) *(\)|\])/[576p]/i; | 309 $newname =~ s/(\(|\[) *(1024x576|H264 1024x576) *(\)|\])/[576p]/i; |
| 303 #1080p | 310 #1080p |
