Skip to content

Indexing TAR archive on tape. #6

@lawndartdeath

Description

@lawndartdeath

Hi,
I tried to use your script to index the contents of a tar archive on a magnetic tape with the following command.

sudo ./tarindexer.py -i /dev/st0 tape.index

Which gives me this error.

One dot stands for 1000 indexed files. Traceback (most recent call last): File "./tarindexer.py", line 123, in <module> main() File "./tarindexer.py", line 118, in main indextar(dbtarfile,indexfile) File "./tarindexer.py", line 71, in indextar if(currentseek/filesize>lastpercent): ZeroDivisionError: division by zero

I'm guessing this just isn't supported. Any ideas? Thanks!

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