Commands

To use Drat, you must specify what you want to do by using one of the following commands. Click the name of the command to go to the corresponding section, which provides a detailed description of the command and its functionality:

Command

Summary

create-index

Create an index of the filesystem to aid searching

explore-fs

Explore a filesystem, starting from a particular path or FSOID

explore-fs-tree

Explore a filesystem B-tree (or subtree)

explore-omap-tree

Explore an object map B-tree (or subtree)

inspect

Inspect an APFS container

read

Read a block a display information about it

recover

Recover/undelete a file

resolve-virtual-oids

Resolve a set of Virtual OIDs to their corresponding physical block addresses

search

Search an APFS container for blocks with certain features/properties

version

Display Drat’s version number along with legal info