Editing Tar
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
https://en.wikipedia.org/wiki/Tar_(computing) | https://en.wikipedia.org/wiki/Tar_(computing) | ||
Line 6: | Line 5: | ||
-c (--create) | -c (--create) | ||
[[-remove-files]] | [[-remove-files]] | ||
− | |||
− | |||
− | |||
== Examples == | == Examples == | ||
* <code>tar -cf new_file.tar /path/folder/to/tar</code> | * <code>tar -cf new_file.tar /path/folder/to/tar</code> | ||
− | * <code> | + | * <code>tar -cvf new_file.tar /path/folder/to/tar</code> |
− | + | -c (--create) | |
− | + | ||
− | |||
== With compression == | == With compression == | ||
Line 25: | Line 20: | ||
:<code>--lzop</code> Filter the archive through [[lzop]] | :<code>--lzop</code> Filter the archive through [[lzop]] | ||
:<code>--no-auto-compress Do not use archive suffix to determine the compression program</code> | :<code>--no-auto-compress Do not use archive suffix to determine the compression program</code> | ||
− | :<code>-z, [[ | + | :<code>-z, --[[gzip]], --gunzip, --ungzip</code> Filter the archive through gzip |
:<code>-Z, --compress, --uncompress</code> Filter the archive through compress | :<code>-Z, --compress, --uncompress</code> Filter the archive through compress | ||
:<code>--[[zstd]] Filter the archive through zstd</code> | :<code>--[[zstd]] Filter the archive through zstd</code> | ||
Line 37: | Line 32: | ||
tar (child): Cannot connect to 2019-08-02T06: resolve failed | tar (child): Cannot connect to 2019-08-02T06: resolve failed | ||
− | tar: 2019-08-02T06\:00+04\:00.tar.xz: Cannot write: | + | tar: 2019-08-02T06\:00+04\:00.tar.xz: Cannot write: Broken pipe |
tar: Child returned status 128 | tar: Child returned status 128 | ||
tar: Error is not recoverable: exiting now | tar: Error is not recoverable: exiting now | ||
Line 48: | Line 43: | ||
* [[UID]] and [[GID]] | * [[UID]] and [[GID]] | ||
* <code>[[file changed as we read it]]</code> | * <code>[[file changed as we read it]]</code> | ||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
* {{xz}} | * {{xz}} | ||
Advertising: