Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GZIP file append writing

 
Deva Devan
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have 10 text files , i am going to read all files one by one and compressing using gzip compression.
read first file and comperss then waiting 10 mins. and reading next text file compress with the previous gzip file from the end of the gzip file.
this operation happen end of text files and finally i want one .gzip file.
how can i append the gzip file?

Please let me know. (its urgent)

Thanks.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not possible. You need to have all files available when creating a compressed file; you can't add files later without de- and re-compressing the other ones.
 
Deva Devan
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply.

can we append two .gzip files without extracting?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No
 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thamizh Bharathi wrote:(its urgent)

Please EaseUp.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic