Skip to content
Advertisement

Difference between archiving and compression

What is the difference between Archiving and compression in Linux?

We have different commands for both which we can combine too.. but what exactly are they?

Advertisement

Answer

Archiving means that you take 10 files and combine them into one file, with no difference in size. If you start with 10 100KB files and archive them, the resulting single file is 1000KB. On the other hand, if you compress those 10 files, you might find that the resulting files range from only a few kilobytes to close to the original size of 100KB, depending upon the original file type. (source)

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement