For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > March 2006 > combine many files into one









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author combine many files into one
kishore.maheshwari@gmail.com

2006-03-22, 8:00 am

Hi,

Need some code to read the file name from a given file "listing.txt'
which looks like give here. And combine all the .htm files in that
folder into one file. The file names are index.htm, ch00_01.htm and so
on.


08/19/2002 10:37p 4,238 index.htm
08/19/2002 10:37p 4,238 index.html
08/19/2002 10:37p 7,292 ch00_01.htm
08/19/2002 10:37p 5,249 ch00_02.htm
08/19/2002 10:37p 3,828 ch00_03.htm


Please help,


Thanks in advance.
Kishore

Mahurshi Akilla

2006-03-22, 9:57 pm

kishore.maheshwari@gmail.com wrote:
> Hi,
>
> Need some code to read the file name from a given file "listing.txt'
> which looks like give here. And combine all the .htm files in that
> folder into one file. The file names are index.htm, ch00_01.htm and so
> on.
>
>
> 08/19/2002 10:37p 4,238 index.htm
> 08/19/2002 10:37p 4,238 index.html
> 08/19/2002 10:37p 7,292 ch00_01.htm
> 08/19/2002 10:37p 5,249 ch00_02.htm
> 08/19/2002 10:37p 3,828 ch00_03.htm
>
>
> Please help,
>
>
> Thanks in advance.
> Kishore


wouldn't it screw up if you combine the htm files into one big file?

Mahurshi Akilla

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com