| View previous topic :: View next topic |
| Author |
Message |
Peter Power Member

Joined: 13 Nov 2003 Posts: 1570 Location: Schweiz
|
Posted: Fri May 12, 2006 3:54 pm Post subject: Looking for a modfied "Mover plugin" |
|
|
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.01 / #266191
Windows XP 32 Professional & Win 7 x64 |
|
| Back to top |
|
 |
XPEHOPE3KA Power Member


Joined: 03 Mar 2006 Posts: 811 Location: Saint-Petersburg, Russia
|
Posted: Fri May 12, 2006 5:41 pm Post subject: |
|
|
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 ). 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 |
|
 |
petermad Power Member


Joined: 05 Feb 2003 Posts: 5351 Location: Valsted, Denmark
|
Posted: Sat Mar 15, 2008 1:19 pm Post subject: |
|
|
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
Windows XP Home 32bit SP3 & Windows 7 Home Premium 64bit SP1 and Windows 8. TC 8.01 32 + 64bit
Get Extended Total Commander Menus |
|
| Back to top |
|
 |
Peter Power Member

Joined: 13 Nov 2003 Posts: 1570 Location: Schweiz
|
Posted: Sat Mar 15, 2008 4:17 pm Post subject: |
|
|
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.01 / #266191
Windows XP 32 Professional & Win 7 x64 |
|
| Back to top |
|
 |
|