Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have downloaded some .zip files. I wish to decompress them (I have unzip), modify them, and compress them again (into separate compressed files, one decompressed file per compressed file). I have no plan to use the files on another machine. I'm trying to figure out whether to apt-get install zip or to gzip them. (I have gzip.) What are the advantages of each — in general and specifically in my case?

share|improve this question
add comment

2 Answers 2

up vote 4 down vote accepted

In general the main advantage of zip over gzip is that it's more widespread in the Windows community.

In your case it might be more or less equivalent.

M.

share|improve this answer
    
+1, many thanks. –  msh210 Feb 22 '13 at 16:49
add comment

Sticking with .zip can be a good idea for the sake of consistency. If you end up creating scripts that operate on these files, using a consistent format will keep things simpler for you. Of course, this doesn't exclude the possibility of converting the original files to gzip format and sticking with gzip.

share|improve this answer
    
+1, many thanks. –  msh210 Feb 22 '13 at 16:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.