On 26.01.20 02:44, Gene Heskett wrote:
> Greetings all;
> 
> trying to sort out how to do this with xz
> 
> xz -c -k <input-file-dir >output-file.xz
> 
> The manpage sucks, and is totally silent on i/o rediirection.

This seems to work:

$ xz -c /etc/issue > /tmp/fred.xz
$ file !$
file /tmp/fred.xz
/tmp/fred.xz: XZ compressed data

And -c implies -k, AIUI.

Erik


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to