On Sunday 26 January 2020 02:59:36 Erik Christiansen wrote:

> 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

but thats a single file above, not a directory tree like 
linux-4.19.94-rt39 is:
example:

pi@rpi4:/media/pi/workspace $ xz -c linux-4.19.94-rt39 
>linux-4.19.94-rt39.xz
xz: linux-4.19.94-rt39: Is a directory, skipping

I think I need to tar it first, and I've space to do it, so I'll try that 
as a two step way to do it.

Thanks Erik

> $ 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


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


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

Reply via email to