ReOrgDir
--------

ReOrgDir derived from a request from wetsmellydogon the coding snacks forum of donationcoder.com.

Original request:

Participant

Posts: 51 

     IDEA: Sort and group directories by pre-defined sizes 
 on: September 23, 2009, 02:16:40 PM  Quote  

--------------------------------------------------------------------------------
I am looking for a program that can sort and group sub-directories into pre-defined sizes.
This is like the FILLCD type of program but to work only on sub-directories.

Example:

Directory Pics has sub-directories 1, 2, 3,10

I need them sorted into directories of no larger than 4.5 GB.

 

---------------------------------------------------------------------------------

The resulting program is:
ReOrgDir.exe

This has been written using FPC (Free pascal Compiler)



Instructions:

- No installation is required, this is a 'stand alone' exectable file. If requested, I can create a proper installation package.
- Upon execution, a screen is shown asking for two folders/directories.  Click the lookup button to the left of the source directory button and select the source directory that contains your sub-directories.
- Now, adjust the size you would like each NEW subbed directory to be.  For example.  You currently have 100 directories, of various sizes.  You want hese grouped into a direcory of a given size.  So, if dir a=5mb, dir b=7mb, dir c=2mb etc and want the new directories to have a size of 7b, then a new directory will be created (Directory 1) which will have dir a and dir c copied into it (as they total 7mb).  'Directory 2' would then have just dir b in it (as theat is already 7mb).  I hope that makes sense...
- Once the desired size is selected, choose a destination directory and the files will be copied into the appropriate place.
- Done


Any ideas for enhancements (there are loads) or bugs let me know, and I will do my best, if I have the time to sort them out

Email me at: awopbamboo@gmail.com


J.



BUG List and History
--------------------
