blob: cd49d670b770268da570162077413fc4cd616b6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
cd ./data/$1/
FILES=$2*
for f in $FILES
do
echo "Processing $f file..."
new=${f//$2/$3}
# take action on each file. $f store current file name
#echo "new Processing $new file..."
cp $f ../$new
done
|