blob: 15ce4e2484a39158ccf58e2724f1cb06cc8a1997 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/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
|