-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
simple-extract: alternative (un)compressor - 7zip #177
Comments
Hm. Interestingly, The "one-ring-to-rule-them-all" solution, proposed might break, if different programs need different values for Another thing is portability, since this implementation definitely requires GNU Getting back to the problem at hand, I think your initial suggestion would be a straight-forward, least intrusive solution. We could include something like that, without thinking too much about redesigning this thing. |
Thats why i have this function (which needs a bit of work! ^_^)
especially files that have various brackets fail here so i usually use
well, i'm not sure since which version it's working but Anyhow, i guess that all should go into a new issue. Pushed the simple-fix for now. |
i think bsdtar is kinda "better", in the sense that it uses libarchive and can unpack almost anything :) |
there might be odd behaviour anyway :----)
Maybe thats a feature, i called it very irritating when i stumbled over it.. |
if you want to consider that more seriously, i think a few options already packaged in debian should be evaluated:
|
I would remove it for sure. But I also don't use it myself. I think it's a little too weird (shell — even zsh — has limitations with regards to expressivity) for what it does. I know none of the alternatives you suggested. From a cursory look, patool looks promising. |
I must admit that I don't use |
It might happen that you only have
/usr/bin/7zz
installed but not/usr/bin/7z
which will makesimple-extract foo.7z
fail.Given with those choices/coming changes:
We would need either something like this or similiar
Or maybe use an array (in general?) w/ fallback of DECOMP_CMD
Another idea i got was to check if we got an string(scalar) or array in
$DECOMP_CMDS
and do the magic accordingly ?_?EDIT: maybe other commands also have alternatives that might need fix/adding?
The text was updated successfully, but these errors were encountered: