File archiver

From Wikipedia, the free encyclopedia

(Redirected from File archivers)
Jump to: navigation, search

A file archiver is a computer program that combines a number of files together into one archive file, or a series of archive files, for easier transportation or storage. All file archivers use lossless data compression in order to reduce the archive's size and to insure 100% restoration of the original data.

The most basic archivers just take a list of files and concatenate their contents sequentially into the archive. In addition the archive must also contain some information about at least the names and lengths of the originals, so that proper reconstruction is possible. Most archivers also store metadata about a file that the operating system provides, such as timestamps, ownership and access control.

The process of making an archive file is called archiving or packing. Reconstructing the original files from the archive is termed unarchiving, unpacking or extracting.

Contents

Ubiquitous amongst Unix and Unix-like operating systems is the tar file format ("tape archive"). Originally intended for transferring files to and from tape, it is still used on disk-based storage to combine files before they are compressed. Other Unix-originated formats include ar and shar.

On Windows platforms, the most widely-used archive format by far is ZIP; other popular formats are CAB, RAR, HKI and ACE. On Amigas, the standard archive format is LHA, while on Apple Macintosh computers, StuffIt is among the most common, with Zip also supported natively in recent OS X (10.3+).

Unlike integrated archival and compression tools like ZIP and RAR, the Unix tools ar, tar, cpio (for "archiver", "tape archiver" and "copy in/out" respectively) act as archivers but not compressors. Users of the Unix tools typically add compression by compressing the result of packing (and uncompressing before unpacking), most often using the gzip or bzip2 programs. In fact modern tar programs include an option to automatically call a (de)compression program, so that it looks just as if tar itself could handle compressed archives. This approach has two advantages:

  • It follows the Unix toolbox concept that each program should accomplish a single but well-done task. Once a better compressor is developed, users may use that immediately, without having to give up their archiver.
  • Since the whole archive is compressed, redundancy between archived files can be detected and eliminated. An archiver compressing each archived file in isolation cannot exploit these inter-file redundancies.

Its main disadvantage is that extracting one file from a compressed archive requires all the files before it to be decompressed, which may take many minutes for a large archive. Altering the underlying archive is even more inconvenient, requiring the entire file to be uncompressed, altered and then recompressed. Archivers with integrated compression perform these operations much more quickly.

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.