#!/bin/bash #bash script for duplicating drives with dd #set source here source=/dev/hdc #set output file name here output_name=/mnt/foo ## dd if=$source bs=16384 conv=noerror,notrunc | tee $output_name ## original also did a md 5 sum add a | md5 for that ## echo "done"