Skip to content

Instantly share code, notes, and snippets.

@epcim
Created October 21, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epcim/e77bb628fc261be99125 to your computer and use it in GitHub Desktop.
Save epcim/e77bb628fc261be99125 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ ! -f "$2/$1" ]
then
#mkdir -p "`dirname $2/$1`"
dd_rescue -e 3 "$1" "$2/$1"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment