php - Algorithm to find the optimal way to use a hosting-space -
i have several 5gb hosting accounts , thousands of files.
want create small software will:
- create several sub-folders in files folder
- move best choices of files (based on sizes) inside sub-folder, reach 5gb limit in optimal way
- then i'll upload each folder in separate 5gb account
i'm not native english speaker , cannot find correct algorithm in internet. can me on (what words search, name of such algorithm)? doesn't matter language is, i'm looking principle of sorting.
thank you
Comments
Post a Comment