diff options
-rw-r--r-- | includes/cd-includes.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/includes/cd-includes.sh b/includes/cd-includes.sh index b9c3a3c..e234c9b 100644 --- a/includes/cd-includes.sh +++ b/includes/cd-includes.sh @@ -53,15 +53,3 @@ function getcd return 0 } - -function copycdextras -{ - # usage: copycdextras cdnum - # essentially a case insensitive cp -R cd#/* - CDNUMBER=$1 - - for filename in $(find $CDMOUNT/[cC][dD]$CDNUMBER/ -type f || die); do - relativepath=$(echo $filename|gawk -F "$CDMOUNT/[cC][dD]$CDNUMBER" '{print $2}'|tr A-Z a-z) - cp $filename "$TARGETDIR"/$relativepath || die - done -} |