Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Say an image is generated by dcfldd using the following command:

dcfldd if=/dev/sourcedrive hash=md5,sha256 hashwindow=10G md5log=md5.txt \
sha256log=sha256.txthashconv=after bs=512 conv=noerror,sync split=10G \
splitformat=aa of=driveimage.dd

This would create a series of 10GB images named driveimage.dd.aa, driveimage.dd.ab, driveimage.dd.ac etc.

What would be the command to restore the split image to the source drive? I'm hoping it would be as simple as:

dcfldd if=driveimage.dd of=/dev/sourcedrive

Would dcfldd then automatically detect all files in the directory containing driveimage.dd and stitch them together again?

share|improve this question

1 Answer 1

You can recombine the images easily with cat, and pipe that to dcfldd to get the nice status output.

cat driveimage.dd.* | dcfldd of=/dev/sourcedrive
share|improve this answer
    
Okay, thanks! That makes sense and puts my mind at rest. –  lachlanroy Jun 6 '13 at 5:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.