-
Notifications
You must be signed in to change notification settings - Fork 77
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
options and config (lrzip.conf) #112
Comments
|
Rzip is used on all compression all the time in lrzip as the first stage in compression irrespective of configuration choices. Lzma is used by default as the second stage of compression unless disabled by use of -n. |
Ok, I understand now. |
Will take it under consideration. Unfortunately as you can see this project has been idle for quite some time due to lack of time and interest to address the reports and I can't give any estimate of if and when that will change. |
The error in the lrzip.conf man file is a clear typo. It should be $HOME/.lrzip. The XDG specification comment is a valid one to consider. Options affecting compression: |
I honestly didn't see that option as it is only long. Maybe because not so long time ago I was using standard packet version and there were only short options and manual remained old one, I just replaced executable. |
This forced a review of the code, and it turns out that lrzip will also look for lrzip.conf in the CURRENT directory, as well as /etc/lrzip, $HOME/.lrzip. The first fopen() is for the current dir. I forgot I did that!
|
I thought about this. the I'll leave the ultimate decision to Con on this as he is the maintainer. But I think all is fine as is. |
The lrzip.conf issue has been resolved in the latest PR. |
There are few things about options.
There is
-c
option that is nonstandard for (de)compressors; in all nix (de)compressors it is writing output to stdout. The way it is in lrzip prevents use of-I || --use-compress-program
tar option to process archive through compressor of your choice.There is no (command line) option/s for rzip or lzma compression although these compressors are mentioned in man.
Also in lrzip.conf.5 it's stated that user config file is to be located in
$HOME/./lrzip
which is essentially in$HOME/lrzip
.a) I would say it was intended to be
$HOME/.lrzip
.b) consider moving user lrzip.conf to
$HOME/.config
as described in XDG Base Directory Specification. I know it is not X windows application but many sensible projects think the policy of keeping home directory clean and tidy is a good thing.The text was updated successfully, but these errors were encountered: