Difference between revisions of "Tar"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/18855909
Line 11: | Line 11: | ||
* <code>tar -Jcvf new_file.tar.[[xz]] /path/folder/to/tar</code> or <code>tar Jcvf new_file.tar.[[xz]] /path/folder/to/tar</code><ref>https://stackoverflow.com/a/18855909</ref> | * <code>tar -Jcvf new_file.tar.[[xz]] /path/folder/to/tar</code> or <code>tar Jcvf new_file.tar.[[xz]] /path/folder/to/tar</code><ref>https://stackoverflow.com/a/18855909</ref> | ||
− | :<code>-J</code> | + | :<code>-J, --[[xz]]</code> |
+ | :<code>-j, --[[bzip2]]</code> | ||
== Related commands == | == Related commands == |
Revision as of 04:34, 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)
Related commands
See also
- Data compression: LZMA,
xz, unxz
,xz -t, xz -q, xz -T0, xz -9, zstd
, Igor Pavlov
Advertising: