TSK_RECOVER(1)
π tsk_recover β the TSK_RECOVER(1) glow-up π
okay bestie, buckle up, because we're about to talk about tsk_recover from the General Commands Manual, section 1, and honestly? it's giving file rescue main character energy. β¨
β¨ NAME β¨
tsk_recover β export files from an image into a local directory π«Ά
πΈ SYNOPSIS πΈ
tsk_recover [-vVae] [ -f fstype ] [ -i imgtype ] [ -b dev_sector_size ]
[ -o sector_offset ] [ -d dir_inum ] image [images] output_dir
π DESCRIPTION π
so like, tsk_recover recovers files into the output_dir from the image. that's the whole vibe. π
and here's the little plot twist: by default it recovers only unallocated files. yep, only the deleted/ghost ones. if you want everything, you gotta use flags. no cap. π
The arguments are as follows:
-vβ verbose output tostderrπ£οΈ (she's chatty, she tells you things)-Vβ print version β (identity check, love that for her)-aβ recover allocated files only π’-eβ recover all files (allocated and unallocated) π₯ the full scoop, the whole buffet-ffstypeβ specify the file system type. use-f listto list the supported file system types. if it's not given, autodetection methods are used π (she'll figure it out herself, she's smart)-iimgtypeβ the format of the image file, such asraw. use-i listto list the supported types. if not given, autodetection methods are used π¦-bdev_sector_sizeβ the size (in bytes) of the device sectors. if not given, autodetection methods are used π-osector_offsetβ sector offset for a volume to recover (recovers only that volume). if not given, will attempt to recover all volumes in the image and save them to different folders ποΈ (so many folders, so organized)-ddir_inumβ directory inum to recover from (must also specify a specific partition using-oor there must not be a volume system) β οΈ like, you can't just wander in there without directions, bestieimage[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. 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 π§©β¨ (it just knows)output_dirβ the directory in which to save recovered files π
π EXAMPLES π
to recover only unallocated files from image.dd to the recovered directory:
# tsk_recover ./image.dd ./recovered
that's it. that's the whole ritual. iconic behavior fr fr π
π AUTHOR π
Brian Carrier <carrier at sleuthkit dot org> π
Send documentation updates to <doc-updates at sleuthkit dot org> π¬
reminder bestie: default = unallocated only. if you want the allocated files too, that's-e(or-aif you're being picky). don't come for me when you only get the deleted ones. π
and that's the tea π β this was TSK_RECOVER(1) from the General Commands Manual, section 1, signed off with all the love in the world. go recover something cute. mwah. π
β¨π
π¦ 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