Elmar Hanlhofer - Grinch Selfie
zoom

English / Deutsch | Print version
Twitter
twitter

<< Previous
Download

Table of Contents

Next >>
Additional features

Recover your files


You have to complete 6 steps to restore your files:

  1. Scan for your files.
    hfsprescue -s1 <device node|image file> [-b <block size>] [-o <offset in bytes>] [-f|--force]

  2. Cleanup file database.
    hfsprescue -s2 [same parameter of -s1]

  3. Restore your files.
    hfsprescue -s3 <device node|image file> [-b <block size>] [-o <offset in bytes>] [--vh-file <file name>] [--eof-file <file name>] [-c <file number>] [--alternative]

  4. Restore your directory structure.
    hfsprescue -s4

  5. Move the restored files to the correct directories.
    hfsprescue -s5

  6. Last step, finalize and cleanup.
    hfsprescue -s6 [-k]

Hfsprescue will guide you through every step and is telling you the command for the next step.


A simple example for the 6 steps:

hfsprescue -s1 /dev/sdb2
hfsprescue -s2 /dev/sdb2
hfsprescue -s3 /dev/sdb2
hfsprescue -s4
hfsprescue -s5
hfsprescue -s6




<< Previous
Download

Table of Contents

Next >>
Additional features


© 2016 by Elmar Hanlhofer