Add newline EOF (.gz files)
Hi,
I have 165 files with .txt.gz type that store queries made on a browser. The problem is that the last query is always wrongly saved (because of lost connection). What i want to do is when i'm writing the results to the STDOUT, add a newline at the end of each file, so that i can minimize this problem. I read the files this way: Quote:
The large amount of data stored makes decompressing the .gz files impracticable. |
Maybe if you provide more info someone can help.
|
How about
Code:
find . -type f -exec zcat {} \; -printf '\n' |
All times are GMT -5. The time now is 02:28 PM. |