|
|
| Keep It Simple, Stupid | |
| PerlMonks |
How to automate construction of directories?by absolutezero273c (Initiate) |
| on Jan 05, 2005 at 16:06 UTC ( [id://419732]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.absolutezero273c has asked for the wisdom of the Perl Monks concerning the following question:
Forgive me, but I know nothing about Perl other than listening to programmers at previous place of employment rave about what they could accomplish with Perl. Would anyone be able to point me in the right direction and possibly recommend some books that would help me? I have this project that needs to be completed in the next week or two (that reoccurs annually) that requires me to build a directory structure for our data. It seems like it should be so easy to put something like this together but I have no clue where to start. An example of the directory structure is: 2005\0_09 2005\10_19 2005\20_29\20\ 2005\20_29\21\ 2005\20_29\22\addendums 2005\20_29\22\current 2005\20_29\22\archive So each of the 2005 clients, in this case client 22 in range 20 through 29, requires 3 directories (addendums, current and archive). But we have 10,000 clients and each requires us to organize and build subdirectories from a predetermined client list that changes annually. Is there a way I can supply the client list in one file, the sub directory names in another, and run the script to create the directories on the server? Any help or direction would be greatly appreciated. Thank you in advance. Dana Retitled by davido.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||