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: Select all
12345-609
12345-504
564890-203
Code: Select all
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
(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: Select all
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
Code: Select all
"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
The example above could be solved like this:
Code: Select all
"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)
Because I don't know anything about programming I have to ask the forum for a "little" help ...
Peter