-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
add some parallel compression type #19
Comments
I wasn't even aware these exist:) I agree that I'd like to keep it simple. Would you like to propose a PR? If not, I will take a look at it a bit later. |
That would be great! :-) To set a parallel compression method, additional tools (
|
Thanks for the info! I can try to integrate those if I find some time, or alternatively feel free to propose a PR. |
Zstd does support parallel compression with multithreading in the latest version but that version is not available in alpine yet. Pigz would be better if parallel is a must but zstd is pretty fast. Also since tar doesnt support passing flags to the compression program you'd have to use a pipe and change how the script calls it |
IMHO it is possible to pass parameters. I use this approach:
Note, that passed program have to support |
BTW, I have just added an option |
I would like to use more cpu cores than single one.
Add possibility to use pigz, zstd or something similar.
PS: I like that your script is "auditable" in few minutes by simple reading. Consider, if feature like this one, does not make it "too long".
The text was updated successfully, but these errors were encountered: