#!/bin/bash RESCUEPATH=dirname $0 cd $1 mkdir -p $2 #find . -type d -exec mkdir -p $2/{} ; find . -type f -exec ./rescue_copy.sh {} $2 ;
dirname $0