You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was testing against a large collection of archive files and noticed it wouldn't flag certain tar files a tar file. After researching it turns out those files were Pre-POSIX. You can grab a sample file from https://getsamplefiles.com/sample-archive-files/tar
The text was updated successfully, but these errors were encountered:
Yeah, that's true. Pre-posix (also known as v7) tar doesn't have magic field filled in its header block. The way the tools like tar, file, etc deal with it is they calculate the block's (512 bytes) checksum and then compare it with stored value. It requires a but if code but in principle, it is not hard to add and I'm happy to send a PR if you think it worth it.
Was testing against a large collection of archive files and noticed it wouldn't flag certain tar files a tar file. After researching it turns out those files were Pre-POSIX. You can grab a sample file from https://getsamplefiles.com/sample-archive-files/tar
The text was updated successfully, but these errors were encountered: