Mover (wcx): Packer plugin to separate files per number or date ...

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
franck8244
Power Member
Power Member
Posts: 703
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

At the beginning it was not supposed to be a "great tool" (thanks), it was only a plugin develloped pretty quickly for a french user so error messages will stay in french :P

Translation of error message :
'You cannot use both methods (day / month), the plugin will use only the year'
Why, folder structures
- per day = YYYYMMDD
- per month = YYYYMM

It would be useless to use both day & month

Other available error messages:
- 'Choose At least one method'
- 'You can use only one method at the same time'
- 'You have to enter a number !'

About box (configure) : 'Made pretty quickly for a french user'

With those translations and the source code, anyone can fully modify it now :wink:
TC#88260 -
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Thank for the explanation.
franck8244 wrote:'You cannot use both methods (day / month), the plugin will use only the year'
Why, folder structures
- per day = YYYYMMDD
- per month = YYYYMM

It would be useless to use both day & month
I expected it would be working like this:
YYYYMM\DD (it will create a directory for the year and month and subdirectory for each day in it).

BTW: You could also add a number of the version to the plugin. It's useful. :-)
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
franck8244
Power Member
Power Member
Posts: 703
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

djk wrote:BTW: You could also add a number of the version to the plugin. It's useful.
Well even if it was supposed to be a very small plugin with only one goal -separate files per number- it's already v4 :wink:
and adding version number would increase the size :( ...
To achieve your goal (YYYYMM\DD) you'll have to proceed twice - once per month and in each month folder per day - :P

I won't add anything more now...It's up to other developpers ( adding branch view support, automatic YYYYMM\DD, other ) :wink:
TC#88260 -
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

So if anybody would like to develope it I have another suggestion.

It would be also nice if it was possible to use predefined selection for separating files, eg. graphics, sounds, office docs, etc. Of course it would be good if it could use already defined selections in TC .
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
franck8244
Power Member
Power Member
Posts: 703
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

djk wrote:eg. graphics, sounds, office docs, etc. Of course it would be good if it could use already defined selections in TC .
You mean by using content plugin ?
Doing that, developpers would have to :
- Change the dialog from the ressource file to a "form"->size increasing
- Add wdx support (not that hard but painful)->slow down the process

At the moment, the easiest way is:
- Change the extension of your files (with the 'multi rename tool') according to the type (office docs, graphics,...)
- Use mover.wcx 'per file types'
- Branch view->Remove extensions
TC#88260 -
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

2franck8244
Thanks for the soultion. :-)

No, I didn't mean 'by using content plugin'.
I thought about simple preselection like during searching or selecting files in TC panel (eg. all files with .jpg, .gig, .png extensions, not older than 2 days and smaller thamn 1MB - and all this I can save as 'My new small graphics').
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Hello

I want to refresh this posting, more then two years old. Maybe there is somewhere out in space who is in the mood of improving this useful tool?

Plugin and source is here:
http://www.totalcmd.net/plugring/Mover.html

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
franck8244
Power Member
Power Member
Posts: 703
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

2Peter,

I thought that this thread was dead ;)

What would you like to be improved ?
(please list all kind of wishes...)
TC#88260 -
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Wishes for further development

Post by *Peter »

Hello Franck

at first I want to say sorry for my late reply - I had some hard days ..
franck8244 wrote:...I thought that this thread was dead ;)
"There's life in the old dog yet."
franck8244 wrote:...What would you like to be improved ?
(please list all kind of wishes...)
That is exactly what I wanted to read :D

Now I want to mention or collect some topics, related to this feature.

Download:
http://www.totalcmd.net/plugring/Mover.html
Place for downloading this tool; including a small forum.

Thread "Looking for a modified "Mover plugin"
http://ghisler.ch/board/viewtopic.php?t=10676
Thread where I made some proposals for development (but found nobody who made it ..)

Thread "Collapse of file-sequences":
http://ghisler.ch/board/viewtopic.php?t=11443
A nine-pages-long thread in German forum which resulted in a filesystem-plugin "Sequences" (http://home.arcor.de/luethje/prog/). This configurable plugin groups files by sequences of textstrings in the filename.

Thread "Create folder and move file function button"
http://ghisler.ch/board/viewtopic.php?t=17555. Discussion and solution upon a function (not a plugin) which makes via VBS-Script some things that I am looking for.


Wishes for further development:
Of course some of the following wishes are overlapping with the main features of TC, but it would be nice to have it in the plugin.

a) Option between Copy and Move
Now it is a really "mover"; but sometimes it would be important to use the "Copy" function: If you need the package separated and unseparated; if you want to use data from a write-protected source (USB; CD-ROM; ...)

b) Option for Target in "Source panel" or "Target panel" or free selection
Now it moves in new sub-folders of the source-panel (although the path of the target panel is displayed in the packer dialogue). Sometimes you need to select another target: the target panel of TC or a free selectable target.

c) Separate per string, defined per position:
This is a feature which is partially solved in http://ghisler.ch/board/viewtopic.php?t=17555.
The idea of the VBS is:
"Take the name of the file from the beginning, use a (via parameter) defined length of string and separate it with this logic."

This script works fine, but in a plugin I can see some potential:
- configure the position of the first character
- configure the position of the last character (or the length of the string).

The idea would be:
"Take the name of the file from the defined start-position use a (via dialogue) defined length of string and separate it with this logic."
("Take filename from 3rd to 8th position for separating.")


d) Separate per string, defined per separator:
This feature is similar to the feature above, but it does not looks for the length of the name - it analyse the filename by a separator-string (examples see http://ghisler.ch/board/viewtopic.php?t=10676). This is very useful for high structured file-systems.

e) Separate per search result:
Unlike the features above this function needs one cycle for every separator. There could be an input box where you can enter the search string. i.e.
first cycle: "Search all files where the filename has the string 'test' and move it to subfolder "Test".
second cycle: "Search all files where the filename has the string 'draft' and move it to subfolder "draft".

f) Configuration of name of subdirs:
There are also some ideas on http://ghisler.ch/board/viewtopic.php?t=10676. For example if you use "separation per extension" it would be nice to edit the name of the subdirs, like "prefix-string plus extension plus suffix-string": "hello-doc; hello-txt" or "hello-doc-miller; hello-txt-miller" ... Of course this should work in all separating-functions, not only in extension.

g) Different languages:
There is not much to explain ;-)

h) Saving of settings:
Like your WDX-plugin it could be nice (or luxury?) to save all the settings which will be available in the extended plugin.
franck8244 wrote:...What would you like to be improved ?
(please list all kind of wishes...)
So - that all my wishes (at the moment :oops: ). I know, it's a huge package. If you want to phase the improvements - for me, feature d) is the most important.

What to you think about it ?
I'm looking forward to hear from you.

Best regards

Peter
TC 10.xx / #266191
Win 10 x64
buda
Junior Member
Junior Member
Posts: 11
Joined: 2007-06-16, 00:23 UTC

how to sort files already sitted in folders

Post by *buda »

how to sort files which is under each separate folder (even sub subfolder).

I have tried using ctrl-B to show only files ,then using the plugin,but only empty folder without files moving into it.

because files has been group into folder according to filename ,therefore it is not a good idea to regroup them from scratch by this plugin,because this plugin will randomly group files.(not according to filename).

therefore I only to use this plugin when file already been grouped into folder,not pure files.

Please help if anybody know,thanks in advance.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Hello Franck

have you found a little time to look at my proposals?

Peter
TC 10.xx / #266191
Win 10 x64
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

2franck8244
What would you like to be improved ?
As mentioned here:
  • "date" and "day" have the same accelerator key
  • activating "day" requires an additional click on the "date" checkbox to have an effect
  • only french messages are displayed (but english options)
  • all download links I found in this thread are dead, except http://www.totalcmd.net/plugring/Mover.html - which doesn't include source code.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

StatusQuo wrote:all download links I found in this thread are dead...
Francks homepage is here:

http://fgartemann.free.fr/

Peter
TC 10.xx / #266191
Win 10 x64
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

2Peter
Thanks - unfortunately there's no source code either (franck's initial posting says the opposite)...
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
franck8244
Power Member
Power Member
Posts: 703
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

Hi,

I have repack the mover achive including the source code...

On totalcmd.net, there was a correct link to the source folder...
TC#88260 -
Post Reply