Greetings,
I'm going to automate my manual approach through perl script.so i need all of your suggestions before to start.
Basically i have a dir structure like
dir1/a
dir1/b
dir1/c
dir1/d
I need to divide this /dir1 into n parts which is as same structure like /dir1 and it's become
dir2/a
dir2/b
dir2/c
dir2/d
dir3/a
dir3/b
dir3/c
dir3/d
I can specify the limit of the folders if required.
(assume that all files are zipped(.gz) in the a,b,c,d folders respectively.)
How well i can customize the script in order to reuse it?.
Is there any related modules available in the CPAN?.
Shall i do it like a utility script or do it as a module.please give your thoughts for the better approach.
Update:
As
McDarren suggest i just explain the issue .
You haven't explained your problem very well, and so people have to try and second-guess before they offer any advice
i'm processing around 50GB data every 60 days.Once i processed, then i'll split the data into several directories which is normally a DVD image size.so it's take a lot of time, data loss and often mess-up that leads to post the question here.
You haven't shown that you've made any effort to solve the problem yourself
Currenly i have a script that will check and display each subfolder size, so that i can create the multiple folders and move the data manually.
I need to get the suggestion as much as possible here. before i'm going to start instead blindly.
-kulls
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.