I am trying to create a .tar.xz compressed archive in one command. What is the specific syntax for that?
.tar.xz
I have tried tar cf - file | xz file.tar.xz>
tar cf - file | xz file.tar.xz>
Try this: tar -cf file.tar file-to-compress ; xz -z file.tar
tar -cf file.tar file-to-compress ; xz -z file.tar
Note:
|
;
&