Tar: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Linux =Options= ==Archival== When tar is executed as root, the file permissions and owner are preserved. ===-p=== Preserve permissions, d...")
 
Line 12: Line 12:


Preserve permissions, default when the root executes the command.
Preserve permissions, default when the root executes the command.
===-s===
Preserve order (same order). Sort names to extract to match archive.


=Archive=
=Archive=


Archive maintaining the user IDs and file permissions:
Archive maintaining the user IDs and file permissions:

Revision as of 03:35, 17 April 2018

Internal

Options

Archival

When tar is executed as root, the file permissions and owner are preserved.

-p

Preserve permissions, default when the root executes the command.

-s

Preserve order (same order). Sort names to extract to match archive.

Archive

Archive maintaining the user IDs and file permissions: