TPIF

From truxwiki.com
Revision as of 14:09, 25 July 2022 by Sam (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A Truxton Portable Investigation File (TPIF) contains the metadata associated with media in Truxton. It will optionally contain the contents of the files referenced in the metadata.

Format

A TPIF is a Zip file that contains the metadata from the tables in the database associated with media. It will optionally contain the unique file contents of any file referenced in the meta data. In Windows, you can add a .zip extension to the file and open it with any tool you wish.

Metadata

The format of the metadata in the TPIF is Postgres Bulk Insert Binary format. This is the smallest and fastest way to get data into Postgres. The name of the file in the TPIF corresponds to the name of the table in the database. Filename extensions are ignored.

File Contents

If the creator of the TPIF chose to export the referenced files, only the unique contents will be present in the TPIF. These will be present in the _content folder in the root of the TPIF. The full path to content in the TPIF is based upon the MD5 hash of the content. The first two bytes of the hash of the content will be used to create the folders under _content. For example, content with a hash of "1a2b3e75d6f4ddfb8c79d28642e03472" will have a path in the TPIF of "_content\1a\2b\1a2b3e75d6f4ddfb8c79d28642e03472"