Why Compression?

What if I tell you? you can store 135MB of files into 103MB. You can easily save 32MB of space. Maybe it will be easy for you to share the resources across internet, the recipent will be able to download the resources in the shortest time possible.

How To Compress Like A PRO?

I will be using some of my java notes for our guide.

Java Notes Directory

The size of files is around 135MB,

Folder Size

  1. Convert the entire directory into a tar file. Tar The size of tar archive will be approx. equal to the size of directory. Tar Size
  2. Use precomp. Precomp The size of precomp archive will be double the tar size. Larger the precomp archive size better the compression ratio. Precomp Size
  3. Use super rep. Srep The srep will compress the precomp archive. Srep Size
  4. Use nanozip. Nanozip Nanozip will strip the file size to 103MB. Nanozip Size To decompress carry out the process in reverse order.

Some of you might say 7zip is more than enough for compression. Yes, you are right 7zip can be simple to use instead of my compression method. But 7zip was able to compress my directory to only 115MB, Still there is a 12MB difference!

7zip Size

Do not misunderstand. This is not the power of your creation! - Nanozip to 7zip.