apfs.util <option> [<verb>] /dev/diskXsY -a path : Get the absolute volume uuid for the volume at path. -D get : Get defragmentation setting for volume or container. -D set=yes/no : enable / disable defragmentation for volume or container. -k : get volume UUID. -p : probe for volume name. -R SNAPSHOT : set the volume to revert to the snapshot named by SNAPSHOT on next mount. -s : set container UUID and its volume(s) UUID(s) to new random values.
apfs.util <option> [<verb>] path|dir [<optional parameter>] -A get : get atime update setting for volume. -A set=yes/no : enable / disable atime update for volume. -C -typetype volume_path : clear the purgeability of files of the specified 'type' on the volume referred to by 'path'. -E path : drop the extents for'path' from the first snapshot. -G path : get stats on the purgeable files on the volume specified by 'path'. -m <verb> path : mark the file at path as purgeable with the various options specified. 'verb' could be one of: -low -med -high -su -photo -music -mail -document -data -podcast -video -movie -message -book -sucontent -fault -pdir -clear. -M dir : flag the named directory as "maintain-dir-stats". -O path [fs name] : override the fstypename for apfs to be "hfs" (or the optional name given). -P <criteria> path : purge files meeting the criteria specified on the volume referred to by 'path'. -K path : purge(kill) the single file at 'path' -r dir : set the sync-root flag on the specified directory. -S dir : get the directory stats from dir. -Y dir : get the sync-root flag from the specified directory. -y path : get the sync-root flag from the first parent that has one for the item identified by 'path'. -z path : make the file at path exempt from copy-on-write semantics for snapshots. -Z path : get the purgeable file flags for the specific file at 'path'.
apfs.util <option> -t : stitches and creates synthetic objects on root volume group. -h : show this help menu.