TAR.BZ2 - Bzip2 Tarball
A bzip2-compressed tar of a small source tree, for testing tar extraction and the TBZ2 container. Member timestamps are fixed for reproducibility.
- README.txt
- records.csv
- config.json
- notes.md
Specifications
- Format
- bzip2-compressed tar
- Members
- 4
- Tar Format
- USTAR
- Structure
- data/ and docs/ subfolders
Testing contract
Expected to pass- Scenario
- Exercise TAR.BZ2 - Bzip2 Tarball in its tarball workflow. A bzip2-compressed tar of a small source tree, for testing tar extraction and the TBZ2 container.
- Expected result
- 4 archive members; 715 uncompressed file bytes; member paths: README.txt, data/records.csv, data/config.json, docs/notes.md. Declared feature checks: members=4; tarFormat=USTAR; structure=data/ and docs/ subfolders.
What is a .tbz2 file?
TBZ2 is a shorthand extension for a TAR archive compressed with bzip2, equivalent to .tar.bz2. The tar step bundles files and metadata, then bzip2 compresses the combined stream for a higher ratio. It is used for distributing larger source and data archives.
How to use this file
Use an example TBZ2 to test the decompress-then-untar pipeline with bzip2, and tools that recognize the abbreviated .tbz2 extension.
How to use this file for testing
“TAR.BZ2 - Bzip2 Tarball” is a deterministic Testaroo fixture for Conversion testing. The same content exported across many formats and linked as a group, so you can convert one and diff against the expected twin.
Documented properties for this file: bzip2-compressed tar · data/ and docs/ subfolders. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.
Archive fixtures are documented down to their member list (shown on this page) and are deliberately safe, no zip bombs, executables, or hidden payloads. Test extractors against nested, unicode, empty, and encrypted variants.
Code examples
tar -tf source-tree.tbz2 # list
tar -xf source-tree.tbz2 -C out/ # extractGenerated by generation/archives.py. Free for any use, no attribution required, license.
Related files
- tarTAR - UncompressedA uncompressed USTAR of a small source tree, for testing tar extraction and the TAR container. Member timestamps are fixed for reproducibility.

- tgzTAR.GZ - Gzip TarballA gzip-compressed tar of a small source tree, for testing tar extraction and the TGZ container. Member timestamps are fixed for reproducibility.

- txzTAR.XZ - XZ TarballA xz/LZMA-compressed tar of a small source tree, for testing tar extraction and the TXZ container. Member timestamps are fixed for reproducibility.

- 7z7z - LZMA2 ArchiveA 7-Zip archive using LZMA2 compression, containing a small documented file tree. For testing 7z extraction and conversion.

- 7z7z - Password ProtectedA password-protected 7z archive (AES-256, encrypted header). The password is “novus-example”, printed here on purpose so you can test encrypted-archive extraction. Contains only harmless sample text.

- arAR - Empty Archive (magic only)The smallest valid archive in this catalog: the 8-byte ar magic and nothing after it. ar has no trailer record, so end-of-file is the only end marker, and this is what an empty static library or an empty .deb control archive looks like on disk.
