How to Zip a File

So you want to send across a large file and it is costing you a lot of time? Learn how to zip a file. The process is easy and will save you on time and disk space.
Why would anyone want to learn how to zip a file? Very simple, if you need to reduce the size of the original file, then you would need to create a compressed version of the file which is where zip compression comes into play. The file format with the extension .zip was created by Phil Katz in 1989 and was originally supported by only PKZIP utility. Today there are many software utilities available and most computer operating systems come with inbuilt ZIP support. One of the most important features of zip is that it allows you to save on data storage space. By zipping files you can save up to 80% of the space originally occupied. It also saves on the time spent on sending an email with a zip attachment due to smaller file size. If you are sending across data which is classified then it is possible to encrypt files using different zip utilities that will protect your data. With so many different utilities it is not a wonder that someone would want to learn to compress a file or more specifically how to zip a file.

Zip a File on a Mac

The process to zip a file on Mac is very simple. First and foremost create folder of all the files that you want to compress. Name this folder as you would like. Now control-click the folder and choose the option create archive. Alternatively you can opt to click on the file, go to the Action menu and then choose the option to create archive from there. Once you have performed this task, it will create a compressed file with the extension .zip.

Zip a File in XP

Creating a zip file in Windows XP is very simple and requires absolutely no technical knowledge of any sort. First collect all the files that you want to include in the zip file in a folder. Name it properly. Now right click on the folder and select the send to option. This option will lead to a list of more options. Here select the option for compressed (zipped) folder. As soon as you click this option, you will see a dialog box that will keep you informed about how much progress has been made on the compression of the files. Once the folder has been compressed, you can easily attach it to your email with the extension .zip and send it. The process on Windows 7 is no different.

Zip a File in Unix

All you need to do is enter the command zip filename inputfile1 inputfile2 at the Unix prompt, wherein filename is the name that you want the zip file to take, and inputfile1 and inputfile2 are the names of the files you want to include in the compressed file you are creating. If you want to create a zip archive with all the contents of a directory, then you can use the code, zip -r filename directory where directory is the name of the directory you want to include in the zip archive. In case you want to learn how to open a zip file in Unix, you can use programs like WinZip to decode the same.

There are zip utilities available that will prompt you to insert a removable disk in case the disk that you were creating the .zip file on runs out of space. This is known as disk spanning and does not affect the process in any manner. Extracting zip files is as easy as creating them and most zip utilities come with a self extracting archive that allows you access to the files easily. So, now that you know how to zip a file, it should create no problems for you.
By
Published: 10/27/2010
Like This Article?
Follow:
Post Comment
Your Comments:
Your Name: