Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Skip the 6 last lines of the TXT file

$
0
0

I have many TXT files (originally CSV files) like this:

File130701.CSV.TXT
"10:00","0.000","0.000","0.000",...
"10:01","374.209","29.087","-401.935",...
"10:02","17.039","3.452","-470.507",...
.
.
.
"17:59","247.883","7.001","-490.051",...
END-OF-SAMPLES
MINIMUM ...
MAXIMUM ...
AVERAGE ...
ESTIMATION...
DATE ...

I want to create 1 TXT file by joining many TXT files like these, but skipping the last 6 lines. Any suggestion?


I have no time to waste.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>