Hi,

"...50GB data every 60 days.Once processed, I split the data into several directories which is normally a DVD image size..."


OK, so you want to fill dir1/... with up to 4.7GB of data from a given directory, then start the next "DVD" aka dir2, fill it up again and so on? Is that what you are after?

"...script that will check and display each subfolder size..."

this sounds like something to start with. Do you want to share your snippets?
The problem will be to properly fill up the directories. Another question: why does it need to always be the same folder structure. I mean, you could start with dir1 and just fill files into dir1/a or so until you either hit the 4.7GB limit or have no more files in a, then move to b and so on. If d is "full", then move to dir2/a and so on...
Sounds reasonable?

Regards,
svenXY

In reply to Re: Directory splitter by svenXY
in thread Directory splitter by kulls

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.