#! /bin/sh # #/******************************************************************************* #* Script Name: copyfiles.sh #* Date Created: 2008.11.24 #* Author: Stephen Cargile #* Purpose: copy the test files to \\calweb\perf for archiving and furthter processing #* #* Input Parameters: #* numUMs - number of UMs used in the test #* numPMs - number of PMs used in the test #* setStg - 1 or 2: number of arrays used #* relNum - Release number #* dbSize - Size of database #* testNo - the number that this config has been tested #* streamNum - the type of stream (0 or 17) #* dirNo - the number of the current directory #* #******************************************************************************/ # # Get user input (command line parameters passed from Step2) # numUMs=$1 numPMs=$2 setStg=$3 relNum=$4 dbSize=$5 testNo=$6 streamNum=$7 dirNo=$8 smbclient //calweb/perf -Wcalpont -Uoamuser%Calpont1 -c "mkdir 1${numUMs}${numPMs}_${setStg}array;cd 1${numUMs}${numPMs}_${setStg}array;mkdir rel${relNum}_${dbSize};cd rel${relNum}_${dbSize};mkdir test${testNo};cd test${testNo};mkdir s${streamNum};cd s${streamNum};mkdir run${dirNo};cd run${dirNo};mkdir exemgr;mkdir ep;mkdir sar;cd ep;prompt OFF;mput *.png;cd ..;mput *.txt;mput *.log;mput *.xml;cd sar;lcd sar;mput *" # # End of script