circulosmeos / gztool

extract random-positioned data from gzip files with no penalty, including gzip tailing like with 'tail -f' !
https://circulosmeos.wordpress.com/2019/08/11/continuous-tailing-of-a-gzip-file-efficiently/
129 stars 12 forks source link

Feature request: Multiple input files #7

Closed fiddyschmitt closed 2 years ago

fiddyschmitt commented 3 years ago

Hi Roberto,

Clonezilla splits gzip files into 4GB segments. Would it be possible to enable gztool to accept multiple input files and treat them as one big input file?

eg. gztool -I myindex.gzi "sda4.ntfs-ptcl-img.gz.aa" "sda4.ntfs-ptcl-img.gz.ab" "sda4.ntfs-ptcl-img.gz.ac"

I want to avoid using cat to combine the files eg. cat *sda4* | gztool -I myindex.gzi because I create the index over multiple gztool runs; so I want to avoid providing data which has already been indexed by gztool.

Thank you, Fidel

circulosmeos commented 3 years ago

Hi @fiddyschmitt I must think a little bit about this: I'll let you know what I decide :-)

fiddyschmitt commented 2 years ago

Hi Roberto, I no longer need this, as I create a stream which stiches all the individual files together.

Thanks! Fidel

circulosmeos commented 2 years ago

Good to hear that! I didn't find a "fine" way to implement a multiple file input with all the options that gztool has 🤷‍♂️