REQ: Plugin/help, move files/create dirs by name

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Gingo
Junior Member
Junior Member
Posts: 20
Joined: 2003-07-12, 20:34 UTC

REQ: Plugin/help, move files/create dirs by name

Post by *Gingo »

First, I hope this hasn't been requested before. If so, feel free to violently ignore the rest of this post.

First, what I want to do:
Say I have a couple of files belonging to different groups, like this:
Group1_file1.txt
Group1_file2.txt
Group1_file3.txt
Group1_file4.txt
Group2_file1.txt
Group2_file2.txt
Group2_file3.txt

I want to be able to mark these files and have the plugin automatically move these into separate (automatically created) subdirs, named Group1 and Group2, respectively. The plugin should ask for which part of the filename (ex. character 1-7) to use for creating the dirs.

When I searched the forums for a solution I found the plugin Mover (http://www.totalcmd.net/plugring/Mover.html) but it doesn't do what I want. I tried to edit it in Delphi, but my very limited experience with Delphi combined with my non-existant knowledge of the plugin system makes me unable to figure out which pieces I need and which I don't. I do however know enough to see that it probably doesn't take that much code to accomplish.

What I would like, if possible, is either having this plugin made (and with available source so I can see what I should have done), or have some sort of base made that I can open in Delphi and finish. If this isn't possible, I'd be happy to get some help and pointers on where and how to start.

Thanks,
J
User avatar
solid
Power Member
Power Member
Posts: 749
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

That's why we need the possibility for MRT to create dirs. i.e to allow \ to be used in the rename mask and replace boxes.
Post Reply