aboutsummaryrefslogtreecommitdiff
path: root/archivers/tar-stream-chunker/pkg-descr
blob: 962fe45226fafc721348379f03a2456905998d18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
Splits stdin of unknown size onto chunks of given size and collects such chunk
files as a TAR archive what is written to stdout.

Initial motivation was to use it as a packer of a data stream what pipes it to
https://tarsnap.com for backup purposes, with a requirement of low and more
predictable memory consumption. And the problem solved here is that TAR file
header should specify size of a file, but it's unknown due to the nature of
input data stream.

The following real case could be an example:
$ pg_dump ... | tar_stream_chunker ... | tarsnap -c ... @-