Skip to main content

Managing Zip Archives with rubyzip

  • Chapter
Practical Ruby Gems
  • 687 Accesses

Abstract

The rubyzip gem is a library for manipulating Zip archives. The Zip file format is a compressed archive format that is very popular on Windows systems. However, there is support for it on nearly all major operating systems; tools that uncompress Zip files are now distributed with Windows, OS X, and most Linux distributions. Zip files can contain multiple files, like tar archives, and are compressed, so in many ways they are similar to tar.gz files. The Zip format shows up in some surprising places; for example, OpenOffice.org documents consist of a number of XML files and other files stored in a Zip archive. They don’t have .zip extensions, but you can verify this by renaming an OpenOffice document to have the .zip extension and then viewing it with a Zip archiver.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2007 David Berube

About this chapter

Cite this chapter

(2007). Managing Zip Archives with rubyzip. In: Practical Ruby Gems. Apress. https://doi.org/10.1007/978-1-4302-0193-9_27

Download citation

Publish with us

Policies and ethics