ibaboom has asked for the wisdom of the Perl Monks concerning the following question:
Good day. I have a file, I want to create directories only on a new file system with the same owners and group names.
so I have a input file that looks like:I have figured out how to print directories and in reading the Cammel book 'Programming Perl' it says to put all of the variables into an array to save from making a lot of threads to the mkdir call. Not really sure how to do something like that. Thanks a lot A____________________ # file: /filename/ # owner: me # group: group user::rwx ser:uid:rwx group::r-- # file: /filename/ # owner: you # group: yourgroup user::rwx ser:uid:rwx group::r-- __________________
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File creation script
by pc88mxer (Vicar) on May 28, 2008 at 19:16 UTC | |
|
Re: File creation script
by jethro (Monsignor) on May 28, 2008 at 21:22 UTC | |
|
Re: File creation script
by jethro (Monsignor) on May 28, 2008 at 19:23 UTC | |
|
Re: File creation script
by apl (Monsignor) on May 28, 2008 at 19:29 UTC |