BSD Ports

archivers/tar-stream-chunker 1.0.7 DragonFly

Splits stdin of unknown size onto chunks packed as a TAR to stdout

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
archivers
Package size
5.3 KiB, 12.4 KiB installed

Description

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 ... @-

In the other systems

The newest version among them is 1.0.7, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlyarchivers/tar-stream-chunker1.0.7 newestnone known-[email protected]-
FreeBSDarchivers/tar-stream-chunker1.0.7 newestnone known-[email protected]-
HardenedBSDarchivers/tar-stream-chunker1.0.7 newestno data-[email protected]-
GhostBSDarchivers/tar-stream-chunker1.0.7 newestno data-[email protected]-

Install

Binary package:

pkg install tar-stream-chunker

From DPorts:

cd /usr/dports/archivers/tar-stream-chunker && make install clean

Dependencies

No port depends on this one.