# GNU ddrescue 1.8
# ================
# This is apparently not the same thing as dd_rescue
cd
test -f installed/ddrescue-1.8.tar.bz2 &&
mv installed/ddrescue-1.8.tar.bz2 .
test ! -f ddrescue-1.8.tar.bz2 &&
wget http://ftp.gnu.org/gnu/ddrescue/ddrescue-1.8.tar.bz2
# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "51451893ea96a5f9943523743a6a35ae ddrescue-1.8.tar.bz2" | md5sum -c
# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "eefe5aaf47fd3e854d74f4877caf29110e3e88f6 ddrescue-1.8.tar.bz2" | \
sha1sum -c
# Read 'info ddrescue' and/or 'man ddrescue' and/or run 'ddrescue --help'
# for usage info
# If you ever want to uninstall ddrescue, this should do it:
cd
su
test -d src/ddrescue-* && ( cd src/ddrescue-* ; make uninstall )
rm -f /usr/local/bin/ddrescue /usr/local/info/ddrescue.info \
/usr/local/man/man1/ddrescue.1
exit
find ~/src -maxdepth 1 -type d -name "ddrescue-*" -exec rm -r {} \;
rm -f ~/installed/ddrescue-*.tar.*