Quantcast
Channel: Active questions tagged jq - Stack Overflow
Viewing all articles
Browse latest Browse all 527

Is it possible to read gzip file directly with jq?

$
0
0

I'm reading huge json files with jq, something like:

jq -r '[.a, .b, .time] | @tsv' file.txt

those files are coming as gz files and I spend each day 20 minutes just to gunzip them.I was wondering is it possible to read the files with jq directly from the gz format? and if so, will it faster overall or will it slow down my process?


Viewing all articles
Browse latest Browse all 527

Trending Articles



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