Pipa reads data from stdin and does various things with it: rotates by time interval / output file size; compresses it (gz, bz2, lzo, xz); names the output file with strftime(); splits it intelligently when given info about the file structure (newlines / PCAP); calls a user command on the finished output file; passes it to stdout (like tee); and more.