Greetings.
1 – Let’s say I have about 500 folders of variable size with a total size of 100 GB.
2 – I want to distribute these folders automatically in other folders until the size of 700 MB is reached with the best optimization of space.
Example: In folder ‘CD–01’ I want to have the maximum number of folders possible without passing the limit of 700 MB, and so on in ‘CD–02’, ‘CD–03’…
Is there a tool that allows me to do this ‘on the fly’ or will I have to code one myself?
Thanks
This is a very naive and poorly coded solution, but it works. My bash-fu is not strong, but a shell script seems like the best way to approach this problem.