Build a Searchable Inventory of a Local Archive
Admin ·
A folder name in a backup tells you little about which files arrived. Make an inventory before you extract or distribute the archive.
List the fieldwork files and folders
Choose Load fieldwork example. The TAR.GZ inventory shows six entries, three regular files and three folders. It includes fieldwork/empty/ as an explicit folder.
Enter café in Filter paths. The list narrows to fieldwork/data/café.csv, and the status changes to 1 of 6 entries. Clear the filter and sort by Expanded bytes in descending order. The café CSV is first, the route file is next, and the binary sample follows above the folders.
Open the Archive Content Lister fieldwork exampleGNU tar archive format
Read size and date fields by archive format
A ZIP directory records compressed and expanded sizes for each file. A negative size reduction can occur when the compressed payload is larger than the original. ZIP directory times are shown as recorded local times.
TAR.GZ compresses a whole TAR stream, including the TAR headers and padding. Its stream size reduction has expanded TAR bytes as the baseline. File rows show their expanded member sizes. A standalone GZIP row shows one expanded payload and the total wrapper size.
PKWARE ZIP File Format SpecificationRFC 1952 GZIP file format
Save and compare the inventory
Download archive-inventory.json while a filter is active. Check that entries still starts with fieldwork/ in archive order and includes all six members. The displayed filter and sort are useful for review, and the report keeps the original order.
Before extracting elsewhere, check any archive error and compare the paths with the expected handoff. The listing reads headers and confirms the supported layout. ZIP payload checks require extraction or a ZIP test command.
Common questions
Why is the ZIP modified date shown without a UTC offset?
The basic ZIP directory timestamp is a local date and time. The inventory reports those stored fields.
Can I see a link target without opening it?
The inventory shows supported TAR link targets as text. It leaves every target unopened.