How to use zip to compress files

Submitted by Aleksey Tsalolikhin on Sat, 2008-02-16 20:22.

The syntax is:

zip output_archive_name input_file_name

Examples:

zip new_archive_name existing_file_name

will compress existing_file_aname into new_archive_name.zip

zip new_archive_name directory_name

will create new_archive_name.zip

Trackback URL for this post:

http://lopsa.org/trackback/1585