Tuesday, May 10, 2016

Resumption of dd for those slower pipes

Was trying to figure out a nice way to continue a network transfer of a stream via dd for a project, ran across this

Examples help me more than anything, but I also like to put my own touch on things, so here's my variation on it:

For a networked pipe/stream, split something like the above in two, one that skips the input from the source before handing it to your favorite method of transfer (ala pidgeon://), then one that seeks the destination. Now to do this efficiently in Python.