Line 0
Link Here
|
|
|
1 |
Splits stdin of unknown size onto chunks of given size and collects such chunk |
2 |
files as a TAR archive what is written to stdout. |
3 |
|
4 |
Initial motivation was to use it as a packer of a data stream what pipes it to |
5 |
https://tarsnap.com for backup purposes, with a requirement of low and more |
6 |
predictable memory consumption. And the problem solved here is that TAR file |
7 |
header should specify size of a file, but it's unknown due to the nature of |
8 |
input data stream. |
9 |
|
10 |
The following real case could be an example: |
11 |
$ pg_dump ... | tar_stream_chunker ... | tarsnap -c ... @- |
12 |
|
13 |
WWW: https://github.com/ihoro/tar-stream-chunker/ |