Difference between revisions of "Tar"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/18855909
Line 13: | Line 13: | ||
:<code>-J, --[[xz]]</code> | :<code>-J, --[[xz]]</code> | ||
:<code>-j, --[[bzip2]]</code> | :<code>-j, --[[bzip2]]</code> | ||
+ | :<code>--lzip</code> Filter the archive through [[lzip]] | ||
+ | :<code>--lzma</code> Filter the archive through [[lzma]] | ||
+ | :<code>--lzop</code> Filter the archive through [[lzop]] | ||
+ | :<code>--no-auto-compress Do not use archive suffix to determine the compression program</code> | ||
+ | :<code>-z, --gzip, --gunzip, --ungzip</code> Filter the archive through gzip | ||
+ | :<code>-Z, --compress, --uncompress</code> Filter the archive through compress | ||
+ | :<code>--[[zstd]] Filter the archive through zstd</code> | ||
+ | |||
+ | |||
+ | |||
== Related commands == | == Related commands == |
Revision as of 04:39, 30 April 2020
https://en.wikipedia.org/wiki/Tar_(computing)
http://man7.org/linux/man-pages/man1/tar.1.html
-c (--create) -remove-files
tar -cf new_file.tar /path/folder/to/tar
tar -cvf new_file.tar /path/folder/to/tar
-c (--create)
-J, --xz
-j, --bzip2
--lzip
Filter the archive through lzip--lzma
Filter the archive through lzma--lzop
Filter the archive through lzop--no-auto-compress Do not use archive suffix to determine the compression program
-z, --gzip, --gunzip, --ungzip
Filter the archive through gzip-Z, --compress, --uncompress
Filter the archive through compress--zstd Filter the archive through zstd
Related commands
See also
Advertising: