NameRe — Batch Rename System (FAR 2.0 x86/x64)

Here you can discuss about your favorite plug-in.
free3dom
Posts: 20
Joined: Sat 15 Aug, 2009 18:54

Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)

Postby free3dom » Mon 28 Sep, 2009 19:07

Latest post of the previous page:

@Maximus5 - I thought about it long and hard and finally decided to include an edit via internal editor mode in the latest version :) it is accessed via a separate entry in the plugin menu, and even provides some editor plugins to assist with the rename...also fixed the missing character bug.

@Kildor - I've just uploaded a new version, which is now static and no longer dependant on the redists - hope that helps with the non-admin systems..

@John Doe - It's still a bit unclear...remeber I don't use these and have no idea about the file at all...so, what about multiple files, missing files, etc. like I said, show me a small before/after file of exactly what you want - should it generate it for all files in the folder, renamed only, etc. I'm gonna need EXACT details, since I have no need for it - you gotta do the legwork if you want me to include it ;)

User avatar
John Doe
Бюрократ
Posts: 11029
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 9 times
Been thanked: 61 times

Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)

Postby John Doe » Tue 29 Sep, 2009 07:32

free3dom wrote:@ John Doe - It's still a bit unclear...remeber I don't use these and have no idea about the file at all...so, what about multiple files, missing files, etc. like I said, show me a small before/after file of exactly what you want - should it generate it for all files in the folder, renamed only, etc. I'm gonna need EXACT details, since I have no need for it - you gotta do the legwork if you want me to include it ;)

Some files may have descriptions (not every). If NameRe renames file without description - no change required. But if renamed file have description than we need to modify it.
files.bbs before

Code: Select all

oldname.ext  description

files.bbs after

Code: Select all

newname.ext  description

Plugin must check for every renamed file if it has description in files.bbs, and if it does that plugin must modify corresponding line in files.bbs.

User avatar
HaRT
Moderator
Posts: 7885
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 62 times
Been thanked: 93 times

Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)

Postby HaRT » Tue 29 Sep, 2009 10:41

John Doe wrote:Plugin must check for every renamed file if it has description in files.bbs, and if it does that plugin must modify corresponding line in files.bbs.
Not exactly.
The plugin rather has to check for descriptions in files listed in “Options | File descriptions | Description list names” in the order specified there. To honor other file description options would be a plus.
Фар есть инструмент, а не нянька. © 2009 DrKnS

User avatar
John Doe
Бюрократ
Posts: 11029
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 9 times
Been thanked: 61 times

Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)

Postby John Doe » Tue 29 Sep, 2009 10:53

HaRT wrote:To honor other file description options would be a plus.

Namely:

Code: Select all

╔════════════════════════ File descriptions ═════════════════════════╗
║ Description list names delimited with commas:                      ║
║ Files.bbs,Descript.ion                                             ║
╟────────────────────────────────────────────────────────────────────╢
║ [x] Set "Hidden" attribute to new description lists                ║
║ [x] Update read only description file                              ║
║ 14  Position of new descriptions in the string                     ║
╟────────────────────────────────────────────────────────────────────╢
║ ( ) Do not update descriptions                                     ║
║ ( ) Update if displayed                                            ║
║ (•) Always update                                                  ║
╟────────────────────────────────────────────────────────────────────╢
║                         [ OK ]  [ Cancel ]                         ║
╚════════════════════════════════════════════════════════════════════╝

/>



User avatar
Александр Кряжев
Posts: 882
Joined: Sun 03 Dec, 2006 10:09
Location: Витебск
Has thanked: 1 time
Contact:

Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)

Postby Александр Кряжев » Tue 29 Sep, 2009 12:59

Хороший плагин, судя по всему! Жаль, что я редко заглядываю в англоязычную часть форума. Только вот:
Plugin don't work on Far 2.0 build 1148 x86 & higher (уж простите за мой английский).

Фар - маргинальный продукт. (c) zg

User avatar
DimmY
Posts: 179
Joined: Mon 04 Apr, 2005 14:38
Been thanked: 1 time

Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)

Postby DimmY » Sun 11 Apr, 2010 21:00

Кто-нибудь сталкивался с тем, что плагин (версия 1.5.2[2009-1004]) не позволяет ничего ввести в поля "Prefix" и "Remove (S)"? Проявляется это нерегулярно.

NameRe v1.5.2[2009-1004] doesn't allow to enter any chars/digits in "Prefix" и "Remove (S)" fields. It happens from time to time, not always. Can anybody confirm it?

FAR 2.0.1493 x86.

Maximus5
Posts: 3291
Joined: Sun 11 Nov, 2007 02:03
Been thanked: 4 times
Contact:

Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)

Postby Maximus5 » Sun 11 Apr, 2010 22:24

I'm using only 'Edit mode' ;)

romkyns
Posts: 61
Joined: Thu 30 Jul, 2009 12:20

Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)

Postby romkyns » Sat 15 May, 2010 13:01

Edit mode rocks! I've always wondered why FRename used all the fancy syntax in Edit mode instead of just listing all filenames in order. A must-have plugin for me!

One thing I do find myself doing quite often is changing the case of _extensions_ (lowercase) while leaving the _names_ unchanged. Unfortunately there's no quick way of doing this; have to fall back to Edit mode + regex search & replace. But at least it's possible!
Были бы сорцы, прислал бы патч.

User avatar
t-rex
Страшный и ужасный
Posts: 4871
Joined: Tue 15 Mar, 2005 16:17
Location: Tel-Aviv
Contact:

Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)

Postby t-rex » Sat 15 May, 2010 14:22

romkyns wrote:One thing I do find myself doing quite often is changing the case of _extensions_ (lowercase) while leaving the _names_ unchanged. Unfortunately there's no quick way of doing this;

The standard Case conversion plugin does this easily.

romkyns
Posts: 61
Joined: Thu 30 Jul, 2009 12:20

Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)

Postby romkyns » Sat 15 May, 2010 14:24

Indeed, thanks t-rex! For some reason I thought "Case conversion" only works in the editor and never even tried it in the panels. My bad.
Были бы сорцы, прислал бы патч.

pepak
Posts: 312
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 1 time
Been thanked: 9 times

Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)

Postby pepak » Thu 20 May, 2010 05:38

romkyns wrote:Edit mode rocks! I've always wondered why FRename used all the fancy syntax in Edit mode instead of just listing all filenames in order.

Because it lets the user to delete lines for files that should not be renamed.

delphiguru
Posts: 1
Joined: Fri 04 Jun, 2010 20:30

Re: NameRe — Batch Rename System (FAR 2.0 x86/x64)

Postby delphiguru » Fri 04 Jun, 2010 20:41

i need rename this files in fast mode :

Merlin.2 x 11 .La citta.della.Strega.ITA.DVDMux.XviD-NovaRip.mkv
Merlin.2 x 12 .I.Fuochi.Di.Idirsholas.ITA.DVDMux.XviD-NovaRip.mkv
Merlin.2 x 13 .L.Ultimo.Signore.Dei.Draghi.ITA.DVDMux.XviD-NovaRip.mkv
.......
...........

to :

Merlin 2 x 11 la citta della La Strega.mkv
Merlin 2 x 12 I Fuochi Di Idirsholas.mkv
Merlin 2 x 13 L Ultimo Signore Dei Draghi.mkv
.......
...........

Any Hint ?

Игорь Юдинцев
Posts: 725
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 1 time

Re: NameRe — Batch Rename System (FAR 2.0 x86/x64)

Postby Игорь Юдинцев » Fri 04 Jun, 2010 22:31

delphiguru wrote:i need rename this files in fast mode :

Merlin.2 x 11 .La citta.della.Strega.ITA.DVDMux.XviD-NovaRip.mkv
Merlin.2 x 12 .I.Fuochi.Di.Idirsholas.ITA.DVDMux.XviD-NovaRip.mkv
Merlin.2 x 13 .L.Ultimo.Signore.Dei.Draghi.ITA.DVDMux.XviD-NovaRip.mkv
.......
...........

to :

Merlin 2 x 11 la citta della La Strega.mkv
Merlin 2 x 12 I Fuochi Di Idirsholas.mkv
Merlin 2 x 13 L Ultimo Signore Dei Draghi.mkv
.......
...........

Any Hint ?


Just for example:
NameRe Edit Mode,
CtrlF7, [x] Use regexps, replace “(.*)\.ITA\.DVDMux\.XviD\-NovaRip\.mkv” with “$1.mkv”,
CtrlF7, replace “\.” with “ ”,
CtrlF7, replace “\s+” with “ ”,
CtrlF7, replace “\smkv$” with “.mkv”.

romkyns
Posts: 61
Joined: Thu 30 Jul, 2009 12:20

Re: NameRe — Batch Rename System (FAR 2.0 x86/x64)

Postby romkyns » Thu 12 May, 2011 15:09

Feature request: could the template support additional special characters to cover file properties such as last modified date? E.g. "myfile--<yyyy>-<mm>-<dd>--<HH>-<MM>-<SS>./" - note the "<>" characters aren't allowed in filenames anyway, so no need to support escaping this syntax.

For boolean properties such as read-only, one might use something like: "<R|read-only|normal>", where "R" means that we're looking at the read-only property, "read-only" is the text inserted if it's true, "normal" if it's false.

Might need some further thought as to how one might pick among the three timestamps (modified, creation and access).

User avatar
HaRT
Moderator
Posts: 7885
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 62 times
Been thanked: 93 times

Re: NameRe — Batch Rename System (FAR 2.0 x86/x64)

Postby HaRT » Thu 12 May, 2011 15:51

romkyns wrote:Might need some further thought as to how one might pick among the three timestamps (modified, creation and access).
“<Tag|FormatString>” where Tag is either “TM”, “TC” or “TA” and Format String is as per MSDN?
Фар есть инструмент, а не нянька. © 2009 DrKnS

romkyns
Posts: 61
Joined: Thu 30 Jul, 2009 12:20

Re: NameRe — Batch Rename System (FAR 2.0 x86/x64)

Postby romkyns » Thu 12 May, 2011 17:42

Good idea, HaRT, I like that, even though I despise MS format strings for using MiXeD cAsE within dates...

Ropuh
Posts: 8
Joined: Fri 06 Jan, 2012 09:34

Re: NameRe — Batch Rename System (FAR 2.0 x86/x64)

Postby Ropuh » Fri 06 Jan, 2012 09:37

Will be available for Far v3.x?


Return to “General Plug-In Discussions”

Who is online

Users browsing this forum: No registered users and 1 guest