Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

script help list all files in folders and subfolders

6 views
Skip to first unread message

George Milten

unread,
Mar 31, 2015, 4:15:01 AM3/31/15
to perl...@perl.org
Hello friendly folks,

i would appreciate any help on the following:

say we have a folder with thousands of html files. Since the file browser crashes, i am looking at making a script that would do the following: Distribute all html files in folders, say 001, 002, 003, etc, sorted by the html files' names. Then, i would like to create an index also an html file, that would exist in each folder, containing links to all the folder's stored html files. Also, if possible, a general index in the parent folder, that would allow for a tree like showing the directories as links, and in a tree like representation, below the links of the files contained in each folder.

Thank you in advance

p.s. we use Perl 5.18,in an ubuntu 14.04 server
0 new messages