ParPar icon indicating copy to clipboard operation
ParPar copied to clipboard

Pipe outputs to another process

Open sntran opened this issue 3 years ago • 1 comments

In README, it is said that "output doesn’t have to be written to disk", but I can't find documentation on how to do that.

Specifically, how would we combine ParPar with, for example nyuu to have a single pipeline from a single file to a a group of that file and recovery files for Nyuu to post, without touching the disk?

sntran avatar May 10 '22 22:05 sntran

That was a motivation, but can't be done yet.
There's a few complications with getting it to do that in the CLI, such as needing to write multiple files (can't be easily piped), and if chunking mode is used, it actually can't be streamed.

One of the end goals of ParPar was to eventually integrate it into Nyuu so that PAR2 generation can occur directly in the uploading pipeline. I just haven't gotten around to it yet.

animetosho avatar May 11 '22 11:05 animetosho