In
computing
Computing is any goal-oriented activity requiring, benefiting from, or creating computing machinery. It includes the study and experimentation of algorithmic processes, and development of both hardware and software. Computing has scientific, ...
, an archive file is a
computer file that is composed of one or more files along with
metadata
Metadata is "data that provides information about other data", but not the content of the data, such as the text of a message or the image itself. There are many distinct types of metadata, including:
* Descriptive metadata – the descriptive ...
. Archive files are used to
collect multiple data files together into a single file for easier
portability
Portability may refer to:
*Portability (social security), the portability of social security benefits
* Porting, the ability of a computer program to be ported from one system to another in computer science
** Software portability, the 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.
Applications
Portability
Archive files are particularly useful in that they store
file system data and
metadata
Metadata is "data that provides information about other data", but not the content of the data, such as the text of a message or the image itself. There are many distinct types of metadata, including:
* Descriptive metadata – the descriptive ...
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.
Additionally, it facilitates transferring high numbers of small files such as resources of saved web pages, since a container file is transferred using a single