Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Looking for a modfied "Mover plugin"

 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
Peter
Power Member
Power Member


Joined: 13 Nov 2003
Posts: 1678
Location: Schweiz

PostPosted: Fri May 12, 2006 3:54 pm    Post subject: Looking for a modfied "Mover plugin" Reply with quote

Hello

Franck8244 has released the plugin "Mover 0.1" to separate files into folders, incl. source code...
http://www.totalcmd.net/plugring/Mover.html.

A discussion can be found here:
http://www.ghisler.ch/board/viewtopic.php?t=7564

Now I need a modification of this plugin:...

I have many directories with a numeric system, named

Code:
12345-609
12345-504
564890-203


In these directories are files with the same logic:
Code:
12345-609
    12345-609-001.txt
    12345-609-002.txt

12345-504
    12345-504-128-001.txt
    12345-504-128-006.txt
    12345-504-129-058.txt


564890-203
    564890-203-550-875.txt
    564890-203-551-123.txt
    564890-203-551-124.txt


The system is the same: "fixed number" / "Line" / "fixed number" / "Line" /
(fixed number / Line) / changing number.

Now I have to separte and move the files regarding a fixed group of the
numbers.

Example: "regard the third group of numbers (550, 551)"

Code:
    564890-203-550-875.txt:
        makedir 564890-203-550 and move the file in it

    564890-203-551-123.txt
    564890-203-551-124.txt
        makedir 564890-203-551 and move both files in it


A perfect modification would have a configuration like this:

Code:
"What is the separator string"?
                           Type a: fixed string
                           Type b: from letter #x to letter #y
                           Type c: from separator #n to separator #o

"What string should be used for the new sub-dirs:"?
                           Type a: fixed string
                           Type b: from letter #x to letter #y
                           Type c: from separator #n to separator #o


(Type a is not flexible enough; Type b would be not to complicated and very useful; Type c is very flexible and maybe a lit bit luxury ..)

The example above could be solved like this:
Code:
"What is the separator string"?
                           Type c: from 2. separator "-" to 3. separator "-" (would find 550 and 551)

"What string should be used for the new sub-dirs:"?
                           Type c: from 0. separator "-" to 3. separator "-" (would find 564890-203-551 and 564890-203-551)

(Configuration with Type b is maybe much easier ...)

Because I don't know anything about programming I have to ask the forum for a "little" help ...

Peter
_________________
TC 8.51a / #266191
Windows XP 32 Professional & Win 7 x64
Back to top
View user's profile Send private message Send e-mail Visit poster's website
XPEHOPE3KA
Power Member
Power Member


Joined: 03 Mar 2006
Posts: 811
Location: Saint-Petersburg, Russia

PostPosted: Fri May 12, 2006 5:41 pm    Post subject: Reply with quote

The only thing you need is the ability of TC to create folders using MRT (beleive me, not only you need this feature - there're lots of us starving for it Wink). Then, if you use regexps there won't be any problem to achieve what you want.
_________________
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
Back to top
View user's profile Send private message
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 5824
Location: Valsted, Denmark

PostPosted: Sat Mar 15, 2008 1:19 pm    Post subject: Reply with quote

I have made a modified version of the Mover plugin which can be downloaded at: http://www.totalcmd.net/plugring/mover-eng.html

1. The Tab-order in the dialog has been fixed.
2. Some of the most common error messages have ben translated from French.
3. The names of the two month and day checkboxes have been changed to something that I find more logical.
3. The order of the two month and day checkboxes have been switched to make the dialog more logical.

A Danisch version can also be found at: http://www.totalcmd.net/plugring/mover-dan.html
_________________
#524
Danish Total Commander Translator
Win XP 32bit SP3 & Win 7 64bit SP1 & Win 8.1 64bit. TC 8.51 32+64bit, TC 2.05b2d

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Peter
Power Member
Power Member


Joined: 13 Nov 2003
Posts: 1678
Location: Schweiz

PostPosted: Sat Mar 15, 2008 4:17 pm    Post subject: Reply with quote

Because there are some people which are interested in the development of "Mover" and there are two or three threads regarding the same plugin:

I want to suggest to focus the discussion here in the main thread.

http://ghisler.ch/board/viewtopic.php?t=7564

Peter
_________________
TC 8.51a / #266191
Windows XP 32 Professional & Win 7 x64
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group