Mover (wcx): Packer plugin to separate files per number or date ...
Moderators: Hacker, petermad, Stefan2, white
- franck8244
- Power Member
- Posts: 703
- Joined: 2003-03-06, 17:37 UTC
- Location: Geneva...
Mover (wcx): Packer plugin to separate files per number or date ...
Yesterday I made a little wcx plugin to separate N files from a list for a french user. I have modify the dialog into english string (messages error are still in french, lazy me )
how does it work (consider this as the readme) :
-Number of file :
You have a file list with 1500 files and want to separate them into N folders (regarding only number):Select them all -> Alt+F5->choose 'mover' ->check Separate per file number->put a value in the edit box (between 1 & 10000)->press ok
The plugin creates N folders containing the desired number of files , the last one contains the "rest"
-Separate per date
Filelist->...->check separate per date
If you do not check other boxes it will uses only the year to create folder
otherwise the folder structure can be (example):
-Use day : 20050523 , 20050530, ...
-Use month : 200505, 200504
Folders will contains files with corresponding dates
That's all...
Download here
(source included)
how does it work (consider this as the readme) :
-Number of file :
You have a file list with 1500 files and want to separate them into N folders (regarding only number):Select them all -> Alt+F5->choose 'mover' ->check Separate per file number->put a value in the edit box (between 1 & 10000)->press ok
The plugin creates N folders containing the desired number of files , the last one contains the "rest"
-Separate per date
Filelist->...->check separate per date
If you do not check other boxes it will uses only the year to create folder
otherwise the folder structure can be (example):
-Use day : 20050523 , 20050530, ...
-Use month : 200505, 200504
Folders will contains files with corresponding dates
That's all...
Download here
(source included)
Last edited by franck8244 on 2008-03-15, 10:34 UTC, edited 1 time in total.
TC#88260 -
- sqa_wizard
- Power Member
- Posts: 3881
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Wow, great ! Works quick and simple ...
Even some finetuning to do :
- if I select "Use day" option, it would be nice to have the according method automatic selected. (same for entering a number of files)
- if I deselect the method, it would be nice to have the options cleared.
- the path at the packing dialog is just ignored ...
- typo at the pluginst.inf (should read "type=wcx")
... keep on coding, it is very handy
Even some finetuning to do :
- if I select "Use day" option, it would be nice to have the according method automatic selected. (same for entering a number of files)
- if I deselect the method, it would be nice to have the options cleared.
- the path at the packing dialog is just ignored ...
- typo at the pluginst.inf (should read "type=wcx")
... keep on coding, it is very handy
#5767 Personal license
Re: Packer plugin to separate files per number or date ...
Great plugin!
One thing...
Separate files depending on filetype:
-one folder for all .ZIP files
-one folder for all .EXE files
-one folder for all .GIF files
and so on...
// Peter
One thing...
Separate files depending on filetype:
-one folder for all .ZIP files
-one folder for all .EXE files
-one folder for all .GIF files
and so on...
// Peter
- franck8244
- Power Member
- Posts: 703
- Joined: 2003-03-06, 17:37 UTC
- Location: Geneva...
sga_wizard wrote:the path at the packing dialog is just ignored
Yes it is, this is a plugin to help the user to "separate files", copying them would take too much time...
You should also not use it while in branch view (subpath is also ignored) : I have added a message in the dialog
For "auto selection" : it's not a "form", the dialog is included in a ressource file and I do not know how to update it (I'm knew to this kind of programming)...You can customize the source code
Pluginst.inf corrected
Addedpetergus wrote:Separate files depending on filetype
the link is the same, source code and french version can be found near the zip file...
TC#88260 -
Correct link to download the new version :
http://fgartemann.free.fr/TCMD/Plugins/Mover/Mover.zip
Thanks for the improvements and the source code
http://fgartemann.free.fr/TCMD/Plugins/Mover/Mover.zip
For me the link was not the same, it was an old version...the link is the same
Thanks for the improvements and the source code
Gil
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
- franck8244
- Power Member
- Posts: 703
- Joined: 2003-03-06, 17:37 UTC
- Location: Geneva...
- franck8244
- Power Member
- Posts: 703
- Joined: 2003-03-06, 17:37 UTC
- Location: Geneva...
- Clas Hortien
- Member
- Posts: 198
- Joined: 2003-03-03, 15:03 UTC
Hi,
for me it doesn't work as expected .
I have 9 Files and want to seperate them each in one single directory.
So i run the mover and enter 1 into the "Files per Folder" field.
I then get 5 ( ) directories, 3 with one file, 1 with 2 files
and 1 with 4 files.
My filenames are :
The distribution is:
Please fix this too.
Best regards
Clas
for me it doesn't work as expected .
I have 9 Files and want to seperate them each in one single directory.
So i run the mover and enter 1 into the "Files per Folder" field.
I then get 5 ( ) directories, 3 with one file, 1 with 2 files
and 1 with 4 files.
My filenames are :
Code: Select all
DesktopOrganizer(PTBSync)-de.zip
hangman41.ZIP
menuApp104.zip
Mover.zip
procexpnt.zip
ResHack.zip
tclocklight-040702-3.zip
wcx_Mover_eng.zip
xpdfsearch_1.01.zip
Code: Select all
Dir 01
DesktopOrganizer(PTBSync)-de.zip
Dir 02
hangman41.ZIP
Dir 03
menuApp104.zip
Mover.zip
Dir 04
procexpnt.zip
ResHack.zip
tclocklight-040702-3.zip
wcx_Mover_eng.zip
Dir 05
xpdfsearch_1.01.zip
Best regards
Clas
Confirm, I get simular error when splitting 9 files to folders with 1 and 2 files in each folder, when I select 3 or more files in each folder it works.Clas Hortien wrote:Hi,for me it doesn't work as expected .
I have 9 Files and want to seperate them each in one single directory.
So i run the mover and enter 1 into the "Files per Folder" field.
I then get 5 ( ) directories, 3 with one file, 1 with 2 files
and 1 with 4 files.
// Peter
- franck8244
- Power Member
- Posts: 703
- Joined: 2003-03-06, 17:37 UTC
- Location: Geneva...
- franck8244
- Power Member
- Posts: 703
- Joined: 2003-03-06, 17:37 UTC
- Location: Geneva...
Here is the corrected version (now splitting is correct )
If you want to know : I was increasing the number of file per folder each time a new folder was created, the things is I used the current value-> 1+1 = 2 , 2+2 = 4 , etc
If you want to know : I was increasing the number of file per folder each time a new folder was created, the things is I used the current value-> 1+1 = 2 , 2+2 = 4 , etc
TC#88260 -