Archive file: Difference between revisions
Wtmitchell (talk | contribs) m Reverted edits by 2001:FB1:113:9240:4DC4:735B:D06E:8DB5 (talk): unexplained content removal (HG) (3.4.10) |
Tags: Reverted Mobile edit Mobile app edit Android app edit |
||
Line 6: | Line 6: | ||
In [[computing]], an '''archive file''' is a [[computer file]] that is composed of one or more files along with [[metadata]]. Archive files are used to [[Linker (computing)|collect]] multiple data files together into a single file for easier [[Software portability|portability]] and storage, or simply to [[lossless compression|compress]] files to use less storage space. Archive files often store [[directory structure]]s, [[error detection and correction]] information, arbitrary comments, and sometimes use built-in [[encryption]]. |
In [[computing]], an '''archive file''' is a [[computer file]] that is composed of one or more files along with [[metadata]]. Archive files are used to [[Linker (computing)|collect]] multiple data files together into a single file for easier [[Software portability|portability]] and storage, or simply to [[lossless compression|compress]] files to use less storage space. Archive files often store [[directory structure]]s, [[error detection and correction]] information, arbitrary comments, and sometimes use built-in [[encryption]]. |
||
==Applications== |
|||
⚫ | Archive files are particularly useful in that they store |
||
⚫ | |||
⚫ | Beyond archival purposes, archive files are frequently used for packaging software for |
||
⚫ | Beyond archival purposes, archive files are frequently used for packaging software for as software contents are often naturally spread across several files; the archive is then known as a While the archival file format is the same, there are additional conventions about contents, such as requiring a and the resulting format is known as a [[package format]]. Examples include file for programming language and format for operating system |
||
==Features== |
==Features== |
Revision as of 05:51, 2 February 2022
In computing, an archive file is a computer file that is composed of one or more files along with metadata. Archive files are used to collect multiple data files together into a single file for easier portability and storage, or simply to compress files to use less storage space. Archive files often store directory structures, error detection and correction information, arbitrary comments, and sometimes use built-in encryption.
Archive files are particularly useful in that they store data and within the contents of a particular file, and thus can be stored on systems or sent over that do not support the file system in question, only file contents examples include sending a over
Beyond archival purposes, archive files are frequently used for packaging software for as software contents are often naturally spread across several files; the archive is then known as a While the archival file format is the same, there are additional conventions about contents, such as requiring a and the resulting format is known as a package format. Examples include file for programming language and format for operating system
Features
Features supported by various kinds of archives include:
- converting metadata into data stored inside a file (e.g., file name, permissions, etc.)
- checksums to detect errors
- data compression
- file concatenation to store multiple files in a single file
- file patches / updates (when recording changes since a previous archive)
- encryption
- error correction code to fix errors
- splitting a large file into many equal sized files for storage or transmission
Some archive programs have self-extraction, self-installation, source volume and medium information, and package notes/description.
The file extension or file header of the archive file are indicators of the file format used. Computer archive files are created by file archiver software, optical disc authoring software, and disk image software.
Archive formats
An archive format is the file format of an archive file. Some formats are well-defined by their authors and have become conventions supported by multiple vendors and communities.
Types
- Archiving only formats store metadata and concatenate files.
- Compression only formats only compress files.
- Multi-function formats can store metadata, concatenate, compress, encrypt, create error detection and recovery information, and package the archive into self-extracting and self-expanding files.
- Software packaging formats are used to create software packages that may be self-installing files.
- Disk image formats are used to create disk images of mass storage volumes.
Examples
Filename extensions used to distinguish different types of archives include zip, rar, 7z, and tar, the first of which is the most widely implemented.
Java also introduced a whole family of archive extensions such as jar and war (j is for Java and w is for web). They are used to exchange entire byte-code deployment. Sometimes they are also used to exchange source code and other text, HTML and XML files. By default they are all compressed.
Error detection and recovery
Archive files often include parity checks and other checksums for error detection, for instance zip files use a cyclic redundancy check (CRC). RAR archives may include redundant error correction data (called recovery records).
Archive files are sometimes accompanied by separate parity archive (PAR) files that allow for additional error detection and recovery, particularly in recovery of missing files in a multi-file archive.
See also
- File archiver
- Disk image
- Digital container format, a similar concept in media files
References
- "Application Note on the .ZIP file format"- official white paper published by PKWARE, Inc.
- Tape Archive (.TAR) file format specification- excerpt from File Format List 2.0 by Max Maischein
- "IBM 726 Magnetic tape reader/recorder from IBM Archives
- "1401 Data Processing System" from IBM Archives