943,906 Members | Top Members by Rank

Ad:
Jul 3rd, 2008
0

Compressing a gzip file (.gz)

Expand Post »
Hi All

Anyway of compressing a gzip file down evern further.

I have a file which is already compressed by gzip but is till to big to email.

Any ideas how to make it even smaller???
Reputation Points: 10
Solved Threads: 0
Light Poster
skelly16 is offline Offline
34 posts
since Aug 2007
Jul 3rd, 2008
0

Re: Compressing a gzip file (.gz)

Not that I think you'll win much, but did you use the -9 option when you created the gzip file?

Otherwise, split and join.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Jul 3rd, 2008
0

Re: Compressing a gzip file (.gz)

Hi

The problem is that the file comes in already gzip, unless i could get my script to uncompress then gzip -8 filename again??
Reputation Points: 10
Solved Threads: 0
Light Poster
skelly16 is offline Offline
34 posts
since Aug 2007
Jul 3rd, 2008
0

Re: Compressing a gzip file (.gz)

Of course you can (and it is -9), but it's not worth it if you don't know whether or not it was already used. use split and mail it in pieces, then use join to recreate the file at the other end.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Shell Scripting Forum Timeline: Decision
Next Thread in Shell Scripting Forum Timeline: Script to telnet to another server





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC