From 9d977397941833ab810eb41cd4c8895b40d929fc Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 16 Apr 2009 11:39:42 +0100 Subject: Removed obselete copycdextras function --- includes/cd-includes.sh | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'includes') 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 -} -- cgit v1.2.3