Jump to content

deletion lines into numerous files @ the same time


Mr.X

Recommended Posts

Hi !

 

Does any1 know how to delete in mass a lot of lines (from line number to line number [blocks]) into numerous files in the same path at the same time ?

 

I know Perl could do it, but if it exists another mean (easier) under Win XP.

 

Thx

Link to comment
Share on other sites

Delete all the lines except the headers into 1822 text files *.txt.

 

The headers 're the 8 first lines, I want to keep them & delete the rest.

 

That can be done quite easily in VB.NET and/or PHP. Just open the file, and fputs each line into a new file.

Edited by Madman
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...