for i in `ls /home/data/data_*.csv`; \ do cp -a $i `echo $i | sed “"s/beforetxt/aftertxt/g”g"`; \ done