about summary refs log tree commit diff
path: root/sourcecodes/filecopy.sh
blob: a56169523b7da9615ffb5cf77addc566845907c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
cd ./data/
FILES=$1*
for f in $FILES
do
  #echo "Processing $f file..."
  new=${f//$1/$2} 
  # take action on each file. $f store current file name
  #echo "new Processing $new file..."
  cp $f $new
done
temp='looCV_temp.txt'
rm $2$temp
temp='looCV.txt'
rm $2$temp
temp='kfoldCV_temp.txt'
rm $2$temp
temp='kfoldCV.txt'
rm $2$temp
temp='ts_upload.txt'
rm $2$temp
temp='ts_output.txt'
rm $2$temp