jcpunk has asked for the wisdom of the Perl Monks concerning the following question:
I have been asked to write a program (I chose perl naturally) to go through a directory tree and learn the file permissions (octal) and ownership(user:group), then dump the knowledge to a file.
I haven't a clue where to begin or how to approach it. Thus I turn to your wisdom.
Don't do my work for me, but please kick me in the right direction. What would you advise for even approaching this task? opendir, modules, or something else?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Save permissions on a directory tree
by ptum (Priest) on Mar 15, 2006 at 17:23 UTC | |
|
Re: Save permissions on a directory tree
by revdiablo (Prior) on Mar 15, 2006 at 17:49 UTC | |
|
Re: Save permissions on a directory tree
by McDarren (Abbot) on Mar 15, 2006 at 17:30 UTC | |
|
Re: Save permissions on a directory tree
by rafl (Friar) on Mar 15, 2006 at 17:37 UTC | |
|
Re: Save permissions on a directory tree
by roboticus (Chancellor) on Mar 16, 2006 at 02:48 UTC | |
by revdiablo (Prior) on Mar 16, 2006 at 17:30 UTC | |
|
Re: Save permissions on a directory tree
by smokemachine (Hermit) on Mar 15, 2006 at 17:52 UTC |