Comments (9)
I don't intend on vastly changing the options to pixz for awhile, I don't want to break people's scripts. Also, some of the options are fundamentally different: Tarball listing and partial extraction are exclusive to pixz, I doubt xz will ever support that. Things like raw lzma support are in xz, but I don't think pixz can support them realistically.
I would, however, be very happy to see a wrapper for pixz that's xz-compatible to some degree. It wouldn't be terribly hard to write a shell script to handle the most common xz options and translate them to pixz.
If the user wants to use Debian alternatives though, that's a bit harder, since pixz might get passed any xz option, even ones like --robot that I don't anticipate implementing. I guess a wrapper could detect unsupported options and fall back to xz?
from pixz.
Don't forget that pixz does parallel DEcompression, too ☺
from pixz.
Hi,
can you at least add the -c option (alias --stdout), which is very common with gzip, bzip2 and xz, having commands like: "gzip -cd file.gz > stdout.file".
Otherwise, I had to do "pixz -d file.xz /dev/pts/1 > stdout.file" which is kinda overkill.
Thanks,
Fab
from pixz.
@havingAgithubAccountIsBuggingMe: There are already two ways to do this:
- If you specify no input or output, pixz will use stdin and stdout, eg:
pixz -d < file.xz > stdout.file
- If you use the i/o options, pixz will substitute stdin/stdout for any that are missing:
pixz -i file.xz > stdout.file
Sorry that the input/output options are so confusing!
from pixz.
Now, the alpha version of xz-util supports multithread. See https://sourceforge.net/p/lzmautils/discussion/708858/thread/d37155d1/.
Just add
XZ_DEFAULTS="--threads 0"
to your environment variable!
from pixz.
I have added a list of differences to xz, including the present incompatibilities, see https://github.com/vasi/pixz#differences-to-xz.
from pixz.
I have started a branch to address this issue. I consider this branch ready to be merged when the following conditions are met:
pixz
is compatible toxz
in (lets just call it) the main compression tool command line options:
-c
,--stdout
-z
,--compress
-d
,--decompress
Please let me know if I forgot another option that allows pixz
to be used as a drop-in replacement for xz
. I do not know all tools that may or may not allow pixz
to be used as a drop-in replacement for xz
and what command line options these require. Would be nice to get some pointers on that.
2. All matching long options are supported.
3. All command line options have tests associated with them which assure they work correctly and are compatible to xz
.
As @vasi mentioned earlier, there are some command line options / behaviours that work differently on pixz
. Dropping those in favor of full command line usage compatibility with xz
is a breaking change. It will definitely require that we bump version to 2.0.0 (semantic versioning) and we may hold off on that for a bit.
from pixz.
@vasi xz
does no parallel decompression, only parallel compression?
from pixz.
Indeed, I just checked. I will list this difference.
from pixz.
Related Issues (20)
- configure: error: AsciiDoc not found, not able to generate the man page. HOT 3
- Error decoding stream footer when trying to decompress a 3.1 TiB .tpxz file HOT 8
- cppcheck 2.8 warnings about uninitialized variables
- Crash when using -x option
- What is the default level of compression? HOT 2
- Can't compile on Fedora 38 HOT 2
- msys2 build failure HOT 18
- Indexes HOT 2
- Clarify README section on differences with xz HOT 5
- any plans for another release soon? HOT 1
- Server mode HOT 1
- -k should be the default HOT 2
- concatenation of *xz files and then decompression using pixz HOT 2
- Building On Windows HOT 2
- manpage not installed if building from release tarball HOT 2
- build env question not package liblzma HOT 1
- Questions about tpxz / file index format HOT 6
- Error creating block encoder HOT 3
- Syntax for converting existing tar.xz archive to indexed pixz file? HOT 1
- Random failures when compressing large directories HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixz.