[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Howto?



On Sunday 26 January 2020 03:25:37 Erik Christiansen wrote:

> On 26.01.20 03:03, Gene Heskett wrote:
> > Greetings all;
> >
> > Trying to sort out how to xz compress.  But xz is rejecting
> > directories, like it expects tars output as its input. And the 
> > manpage is silent on redirections.
> >
> > I want to compress the directory foo into foo.xz, keeping foo as
> > there may be further patches applied in the future.
> >
> > Syntax?
>
> Gene,
>
> While the manpage says "xz is a general-purpose data compression tool
> with command line syntax similar to  gzip", it appears to lack the -r
> option. That'd be why the examples found with a "xz directory
> compression" google use tar, I figure. (Like in the old days.)
>
> Now we know what "similar" means.
>
> Erik

I think that last statement needs a grin. ;-) Any way I made a tarball, 
then xz'd it, saveing a nominal gigabyte to DL. I'd still like to make a 
deb out of it. I might see if I can do a dummy install and tar.xz that.  
When I'm awake again. :)


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>


Reply to: