Skip to content

Index TAR stream from pipe/stdin #10

@ProximaNova

Description

@ProximaNova

Feature request: make $ cat 200GB.tar | tarindexer -i - indexfile.index a thing or make it work no-problem.

Motivation: (1) for a multi-part tarball like file.tar.aa, file.tar.ab, file.tar.ac, etc. where each one is 1.8 GB in size (2) because more programs should support processing like "$ cat file | programname -"

At github.com/ProximaNova/tarindexer (ProximaNova@83ec921) you can run this and it will work: $ cat a.tar.1 a.tar.2 | tarindexer -i - indexfile.index

The main problem is that it only works on piped TAR data which is less than too many megabytes for the memory to handle (so it will use too much RAM if a.tar.* = 20 GB). Further work or research is needed to make it memory safe or memory sensible. Docs: https://docs.python.org/3/library/tarfile.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions