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