Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect called filename to automatically unxz #30

Open
mbirth opened this issue Sep 27, 2018 · 0 comments
Open

Detect called filename to automatically unxz #30

mbirth opened this issue Sep 27, 2018 · 0 comments

Comments

@mbirth
Copy link

mbirth commented Sep 27, 2018

I've symlinked /usr/bin/pxz to /usr/local/bin/xz for me to use it whenever some tool tries to use the "normal" xz. However, there's also unxz which automatically uncompresses given files.

But when creating a symlink unxz, pxz is still in "compress" mode (and does nothing as it detects that the file is already compressed).

Could you add a feature to detect the called name and act accordingly (should work with unxz and probably punxz, too)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant