File archiver

File archiver

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. Many file archivers employ Archive formats that provide lossless data compression to reduce the size of the archive which is often useful for transferring a large number of individual files over a high latency network like the Internet.

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".

Discussion

Unix Archiver Tools

Unlike integrated archival and compression tools like PKZIP, Winzip, and WinRAR, 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.

See also

* Comparison of file archivers
* Archive format
* List of archive formats
* Comparison of archive formats

External links

*


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • File Roller — Infobox Software caption = latest release version = 2.22.3 latest release date = May 27 2008 latest preview version = 2.23.3 latest preview date = June 16 2008 developer = Paolo Bacchilega operating system = Linux, Solaris, BSD, other Unix like… …   Wikipedia

  • File Roller — File Roller …   Википедия

  • KGB Archiver — Infobox Software name = KGB Archiver caption = Screenshot of KGB Archiver 1.x collapsible = author = developer = Tomasz Pawlak released = March 2006 latest release version = 1.2.1.24 latest release date = November 1, 2006 latest preview version …   Wikipedia

  • tar (file format) — tar GNU tar 1.23 showing three common types of Tarballs (shown in red). Filename extension .tar Internet media type application/x tar …   Wikipedia

  • Archive file — An archive file is a file that is composed of one or more files along with metadata that can include source volume and medium information, file directory structure, error detection and recovery information, file comments, and usually employs some …   Wikipedia

  • Xar (archiver) — xar (short for eXtensible ARchive format ) is an open source file archiver and the archiver’s file format.Xar was created within the OpenDarwin project and is used in Mac OS X 10.5 for software installation routines – replacing gzipped pax files …   Wikipedia

  • Tar (file format) — infobox file format name = tar icon = caption = GNU tar 1.16 showing three common types of Tarballs (shown in red). extension = .tar mime = application/x tar uniform type = public.tar archive magic = ustar at byte 257 genre = file archiver… …   Wikipedia

  • PK3 (file extension) — A .PK3 file is simply a renamed .ZIP file, used in games based on the Quake III engine. It usually contains a checksum to prevent the opening and recompression of the file, or the addition of extra maps to demo versions. The .PK3 file contains… …   Wikipedia

  • Parity file — Parity files are files that are created to accompany data files, and are used to preserve data integrity and assist in data recovery. They are useful when data files are transmitted or stored on less than perfect mediums such as newsgroup… …   Wikipedia

  • Comparison of file archivers — This is an incomplete list, which may never be able to satisfy particular standards for completeness. You can help by expanding it with reliably sourced entries. The following tables compare general and technical information for a number of file… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”