I have the following script. All oracle files are in directory /tbsprod/ora4/COLDBACKUP/
the lines that begin with copy_file are the locations where the files in the /tbsprod/ora4/COLDBACKUP/ should be after copying them.
What I don't know is how to capture each file from /tbsprod/ora4/COLDBACKUP/ in order to be copied to each directory in the lines that start with the copy_file.
echo Copying $1 >> $LOG
cp -p /tbsprod/ora4/COLDBACKUP/ $1 >> $LOG