Archive file explained
In computing, an archive file is a computer file that is composed of one or more files along with metadata. Many archive formats also support compression of member files. 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, comments, and some use built-in encryption.[1] [2] [3]
Applications
Portability
Archive files are particularly useful in that they store file system data and metadata within the contents of a particular file, and thus can be stored on systems or sent over channels that do not support the file system in question, only file contents – examples include sending a directory structure over email, files with names unsupported on the target file system due to length or characters, and retaining files' date and time information.[4]
A single archive file may contain multiple member files; this can speed file transfers and other operations with processing overheads for each file,[5] [6] in addition to gains due to compression.
Software distribution
Beyond archival purposes, archive files are frequently used for packaging software for distribution, as software contents are often naturally spread across several files; the archive is then known as a package. While the archival file format is the same, there are additional conventions about contents, such as requiring a manifest file, and the resulting format is known as a package format.[7] Examples include deb for Debian, JAR for Java, APK for Android, and self-extracting Windows Installer executables.
Features
Features supported by various kinds of archives include:
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.[8]
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.[9]
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.[10]
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.[11]
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 additional error correction data (called recovery records).[12]
Archive files that do not natively support recovery records can use separate parchive (PAR) files that allows for additional error correction and recovery of missing files in a multi-file archive.[13]
See also
References
Notes and References
- Web site: Archive File: What it's Used For . 2022-06-17 . Lifewire . en . 2024-07-11 . https://web.archive.org/web/20240711021756/https://www.lifewire.com/what-is-an-archive-file-2625792 . live .
- Web site: 2015-02-07 . Archive files . 2022-06-17 . www.ibm.com . en-us . 2023-09-07 . https://web.archive.org/web/20230907001929/https://www.ibm.com/docs/en/zos/2.1.0?topic=routine-archive-files . live .
- Web site: 2015-03-23 . What is Archiving And Why is it Important? . 2022-06-17 . Secure Data MGT . en . 2022-05-24 . https://web.archive.org/web/20220524041509/https://www.securedatamgt.com/blog/what-is-archiving/ . live .
- Web site: Data Portability and Platform Competition Is User Data Exported From Facebook Actually Useful to Competitors? . June 17, 2022 . . 22.
- Web site: 2020-06-17 . Why file transfer speeds of small vs large files could be different . 2022-06-17 . NetApp Knowledge Base . en . 2022-01-01 . https://web.archive.org/web/20220101141232/https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Why_file_transfer_speeds_of_small_vs_large_files_could_be_different . live .
- Web site: 2018-10-10 . Why Small Files Take Longer to Copy Than Large Files . 2022-06-17 . Dataquest . en-GB . 2022-07-02 . https://web.archive.org/web/20220702161208/https://www.dq-int.co.uk/blog/why-small-files-take-longer-to-copy-than-large-files/ . live .
- Web site: Amit . Ashbel . Data Archiving: The Basics and 5 Best Practices . 2022-06-17 . cloud.netapp.com . en-us . 2022-01-19 . https://web.archive.org/web/20220119105316/https://cloud.netapp.com/blog/clc-blg-data-archiving-the-basics-and-5-best-practices . live .
- Web site: What Is a File Extension & Why Are They Important? . 2022-06-17 . Lifewire . en . 2022-06-03 . https://web.archive.org/web/20220603202723/https://www.lifewire.com/what-is-a-file-extension-2625879 . live .
- Web site: What are Archive Files? . 2022-06-17 . www.exefiles.com . 2022-05-28 . https://web.archive.org/web/20220528110322/https://www.exefiles.com/en/extensions/file-types/archive/ . live .
- Web site: Common file name extensions in Windows . 2022-06-17 . support.microsoft.com . 2022-05-27 . https://web.archive.org/web/20220527200605/https://support.microsoft.com/en-us/windows/common-file-name-extensions-in-windows-da4a4430-8e76-89c5-59f7-1cdbbc75cb01 . live .
- Web site: Malefanem . Moses . Learning Java Network Programming . 2022-06-17 . 2023-09-07 . https://web.archive.org/web/20230907003607/https://www.academia.edu/21445522 . live .
- Book: Drummond, James R. . Parity, Checksums and CRC Checks . 1997 . 1st . . 13 . En . 2022-06-17 . 2020-10-31 . https://web.archive.org/web/20201031235541/https://faraday.physics.utoronto.ca/PVB/Drummond/Micro/ln_comm1.pdf . live .
- Web site: text . What are PAR and PAR2 Files? . 2022-06-17 . Easynews . en . 2024-07-11 . https://web.archive.org/web/20240711021759/https://help.easynews.com/kb/article/72-what-are-par-and-par2-files/ . live .