Hi,

while working on a growing project i found it helpfull to have some tool which generates a contents file with the directory tree in it. Something like:

Starting Folder
|
|-- Folder1
|   |
|   |--File1
|   |--File2
|   \--File3
|
|-- Folder2
|   |
|   |--Folder3
|   |   |
|   |   |--File4
|   |   \--File5
|   |
|   \--File6
|
|--File7
\--File8

in the end. Well, it doesn't matter if files or folders are printed first.
File::Find gives me very easily a list of all files and folders. And i can certainly store this in an array and process each line to get the output i want but i was wondering if there is something ready yet. Honestly i lost a bit the control over my first attempt using for-loops for the identation, etc.


Best regards
  Martin

--
Presidential Smileys
=|:-)   Abe Lincoln
7:^]    Ronald Reagan
=:o]    Bill Clinton

Reply via email to