TSK_GETTIMES(1)
π TSK_GETTIMES π
okay bestie, you're looking at TSK_GETTIMES(1), which lives in the General Commands Manual section of the Sleuth Kit fam. no cap, it's the one that hoovers up MAC times from a disk image and spits them into a body file. let's get into it π«Ά
β¨ NAME β¨
tsk_gettimes β Collect MAC times from a disk image into a body file.
πΈ SYNOPSIS πΈ
tsk_gettimes [-vV] [ -f fstype ] [ -i imgtype ] [ -b dev_sector_size ] [
-z zone ] [ -s seconds ] image [images]
π¦ DESCRIPTION π¦
so what this icon actually does: tsk_gettimes goes through each of the file systems inside a disk image and hands back all the data about them in the MACtime body format β which is literally the same thing as running fls -m on every single file system. periodt.
and the output? it's giving input to mactime, bestie. feed it in and you get yourself a whole timeline of file activity. the data goes out to STDOUT, so you can redirect it wherever your heart desires. π
The arguments are as follows:
-vβ verbose output tostderr. she's chatty, she tells you what's happening π-Vβ Print version. the "who even are you" flag π-ffstype β Specify the file system type. use-f listto see all the supported file system types, they're all there waiting for you. if you don't give this, autodetection methods are used (she'll figure it out herself, main character energy).-iimgtype β The format of the image file, such asraw. use-i listto list the supported types. not given? autodetection methods are used. she got this πͺ-bdev_sector_size β The size (in bytes) of the device sectors. if not given, autodetection methods are used. again, she's competent, she doesn't need your help.-osector_offset β Sector offset for a volume to recover (recovers only that volume). if not given, will attempt to recover all volumes in image and save them to different folders. so it's a "just this one pls" vs "give me everything" situation π-sseconds β The time skew of the original system in seconds. for example, if the original system was 100 seconds slow, this value would be-100. yes the minus sign matters, don't come for me π-zzone β The ASCII string of the time zone of the original system. for example,ESTorGMT. these strings must be defined by your operating system and may vary β so like, don't just make one up, check your OS first, iykyk.image[images] β The disk or partition image to read, whose format is given with-i. Multiple image file names can be given if the image is split into multiple segments. and here's the cute part: if only one image file is given, and its name is the first in a sequence (e.g., as indicated by ending in.001), subsequent image segments will be included automatically. she's thoughtful like that β¨
π EXAMPLES π
To collect data about image image.dd:
# tsk_gettimes ./image.dd > body.txt
look at that. one line. body file acquired. slay π₯
π AUTHOR π
Brian Carrier <carrier at sleuthkit dot org>
Send documentation updates to <doc-updates at sleuthkit dot org>
and that's the whole page, babe π this was TSK_GETTIMES(1) from the General Commands Manual β the footer's just the page name again, no date on this one, so no tea to spill there. go forth and build timelines, bestie π§β
π¦ where this page comes from
- arch rolling: sleuthkit 4.15.0-1 Β· CPL-1.0 AND GPL-2.0-or-later AND IPL-1.0
- epel 10: sleuthkit 4.15.0-2.el10_3 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- epel 9: sleuthkit 4.15.0-2.el9 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- fedora 43: sleuthkit 4.14.0-4.fc43 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- fedora 43: sleuthkit 4.15.0-2.fc43 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- fedora 44: sleuthkit 4.14.0-5.fc44 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- fedora 44: sleuthkit 4.15.0-2.fc44 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- nixos 26.05: sleuthkit 4.14.0
- nixpkgs unstable: sleuthkit 4.15.0
- opensuse-leap 16.0: sleuthkit 4.12.1-bp160.1.13 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- opensuse-leap 16.0: sleuthkit 4.12.1-bp160.1.13 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- opensuse-leap 16.0: sleuthkit 4.12.1-bp160.1.13 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- opensuse-leap 16.0: sleuthkit 4.12.1-bp160.1.13 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms