tar
Stores or retrieves files to/from an archive file
tar option [modifiers] [file-list]
The tar (tape archive) utility creates, adds to, lists, and retrieves files from an archive file.
Options
Use only one of the following options to indicate what type of action you want tar to take. You can affect the action of the option by following it with one or more modifiers.
--append
-r Writes the file-list to the end of the archive. This option leaves files that are already in the archive intact, so duplicate copies of files may be in the archive after tar finishes. When tar extracts the files, the last copy of a file in the archive is the one that ends up on the disk.
--create
-c This option takes the file-list given on the command line and stores ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access