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

Provide a command line interface #193

Open
4lex11s opened this issue Nov 9, 2024 · 1 comment
Open

Provide a command line interface #193

4lex11s opened this issue Nov 9, 2024 · 1 comment

Comments

@4lex11s
Copy link

4lex11s commented Nov 9, 2024

Hello,

Do you plan to also offer a command line interface of your library?

One of a the benefits of seeing "snappy" command line developed, would be the multithreading advantage. For example, when we use a "compressed" dd command, like this:

dd if=/dev/sda status=progress | snappy > image.img.snappy

Without having tried it, @nabijaczleweli proposes an implementation.

Thank you!

@nabijaczleweli
Copy link

(a) you probably want pv /dev/sda | snappy -f > sda.sz (or at least add bs=64k), this will be significantly faster
(b) that's not a proposal, that's just an implementation. it's in debian, you can just use it

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

2 participants