From b76270bf9e6dd375e495fec92140a79a79415d27 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Wed, 19 May 2010 08:58:23 +0000 Subject: Slackware 13.1 Wed May 19 08:58:23 UTC 2010 Slackware 13.1 x86_64 stable is released! Lots of thanks are due -- see the RELEASE_NOTES and the rest of the ChangeLog for credits. The ISOs are on their way to replication, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. We are taking pre-orders now at store.slackware.com, and offering a discount if you sign up for a subscription. Consider picking up a copy to help support the project. Thanks again to the Slackware community for testing, contributing, and generally holding us to a high level of quality. :-) Enjoy! --- misc/slackbook/html/archive-files-zip.html | 114 +++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 misc/slackbook/html/archive-files-zip.html (limited to 'misc/slackbook/html/archive-files-zip.html') diff --git a/misc/slackbook/html/archive-files-zip.html b/misc/slackbook/html/archive-files-zip.html new file mode 100644 index 000000000..cf7ef6cdd --- /dev/null +++ b/misc/slackbook/html/archive-files-zip.html @@ -0,0 +1,114 @@ + + + + +zip + + + + + + + + + + + +
+

15.4 zip

+ +

Finally, there are two utilities that can be used on zip files. These are very common +in the Windows world, so Linux has programs to deal with them. The compression program is +called zip(1), and the decompression program is called unzip(1).

+ + + + + +
+
+% zip foo *
+
+
+ +

This will create the file foo.zip, which will contain all +the files in the current directory. zip will add the .zip extension automatically, so there's no need to include that in +the file name. You can also recurse through the current directory, zipping up any +directories that are also laying around:

+ + + + + +
+
+% zip -r foo *
+
+
+ +

Decompressing files is easy, as well.

+ + + + + +
+
+% unzip foo.zip
+
+
+ +

This will extract all the files in the file foo.zip, +including any directories in the archive.

+ +

The zip utilities have several advanced options for creating +self-extracting archives, leaving out files, controlling compressed file size, printing +out what will happen, and much more. See the man pages for zip +and unzip to find out how to use these options.

+
+ + + + + -- cgit v1.2.3