On Thu, 23 Jul 2015 01:06:49 +1000
Paul L Daniels <[email protected]> wrote:

Slight correction to the script in the previous email... sorry, 1am
here :(

        #!/bin/sh
        DDR=1
        while [ $DDR -ne 0 ]; do
                ddrescue -v -f /dev/sdc img log
                DDR=$?
                if [ $DDR -ne 0 ]; then
                        echo "ddrescu failure, sleep for 30s"
                        sleep 30
                fi
        fi
        #END


-- 
Computer Repairs for Charters towers - http://ctpc.biz
A.B.N. 19 500 721 806

_______________________________________________
Bug-ddrescue mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to