Click here to Skip to main content
15,891,757 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
Paul Sanders (the other one)17-Jun-18 20:29
Paul Sanders (the other one)17-Jun-18 20:29 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
megaadam17-Jun-18 0:31
professionalmegaadam17-Jun-18 0:31 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
Maximilien17-Jun-18 1:11
Maximilien17-Jun-18 1:11 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
Keith Barrow17-Jun-18 23:28
professionalKeith Barrow17-Jun-18 23:28 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
svella18-Jun-18 2:43
svella18-Jun-18 2:43 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
vtokar18-Jun-18 4:37
vtokar18-Jun-18 4:37 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
Bard17-Jun-18 3:25
Bard17-Jun-18 3:25 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
enhzflep17-Jun-18 10:18
enhzflep17-Jun-18 10:18 
Simples.

Formats like ZIP employ compression on a file-by-file basis. This is obviously prone to poor rates of compression as compared to a scheme that can compress the entire contents of an archive, or in some cases, data that is contained within lots of small files.

The solution is to slap all of the files together first in a monolithic chunk. You then run compression on that chunk in the (almost always delivered) hope that you'll achieve a smaller output than if the compressed output of all the contained files was then glued together into a single chunk.

TAR - turn a bunch of files into one.
GZ - compress a file.

GeneralRe: Why do TAR files always need to be decompressed twice? Pin
kalberts17-Jun-18 22:12
kalberts17-Jun-18 22:12 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
hpcoder217-Jun-18 20:08
hpcoder217-Jun-18 20:08 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
pmauriks17-Jun-18 20:54
pmauriks17-Jun-18 20:54 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
PhM3317-Jun-18 21:19
professionalPhM3317-Jun-18 21:19 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
Joop Eggen18-Jun-18 4:16
Joop Eggen18-Jun-18 4:16 
GeneralRe: Why do TAR files always need to be decompressed twice? Pin
rjmoses19-Jun-18 0:52
professionalrjmoses19-Jun-18 0:52 
GeneralFIFA World cup Montreal style! Pin
Maximilien16-Jun-18 12:53
Maximilien16-Jun-18 12:53 
GeneralRe: FIFA World cup Montreal style! Pin
OriginalGriff16-Jun-18 19:38
mveOriginalGriff16-Jun-18 19:38 
GeneralRe: FIFA World cup Montreal style! Pin
Munchies_Matt17-Jun-18 23:21
Munchies_Matt17-Jun-18 23:21 
GeneralQ&A Pet Peeves Pin
Eric Lynch16-Jun-18 7:34
Eric Lynch16-Jun-18 7:34 
GeneralRe: Q&A Pet Peeves Pin
PIEBALDconsult16-Jun-18 7:41
mvePIEBALDconsult16-Jun-18 7:41 
GeneralRe: Q&A Pet Peeves Pin
Dave Kreskowiak16-Jun-18 8:04
mveDave Kreskowiak16-Jun-18 8:04 
GeneralRe: Q&A Pet Peeves Pin
lopatir16-Jun-18 8:06
lopatir16-Jun-18 8:06 
GeneralRe: Q&A Pet Peeves Pin
BillWoodruff16-Jun-18 8:16
professionalBillWoodruff16-Jun-18 8:16 
GeneralRe: Q&A Pet Peeves Pin
kmoorevs16-Jun-18 8:30
kmoorevs16-Jun-18 8:30 
GeneralRe: Q&A Pet Peeves Pin
BillWoodruff16-Jun-18 19:04
professionalBillWoodruff16-Jun-18 19:04 
GeneralRe: Q&A Pet Peeves Pin
kmoorevs17-Jun-18 10:05
kmoorevs17-Jun-18 10:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.