I have a file named "test.tar". I want to compress it with the
If I use the following command, the result would be a file named "test.tar.xz":
I want a file named "test.txz" (instead of "test.tar.xz"). What command would it take to achieve this?
Note:
I am aware that I could use the
I'm also aware that I could create a "test.tar.xz" file and just rename it to "test.txz", but I don't want to do that either.
I want to know the exact
xz
command.If I use the following command, the result would be a file named "test.tar.xz":
Code:
xz test.tar
I want a file named "test.txz" (instead of "test.tar.xz"). What command would it take to achieve this?
Note:
I am aware that I could use the
tar
command to create an xz
compressed archive, but I'm curious with the xz
syntax.I'm also aware that I could create a "test.tar.xz" file and just rename it to "test.txz", but I don't want to do that either.
I want to know the exact
xz
syntax to create a ".txz" file, since (by default) the xz
command wants to create ".xz" files only.