Skip to main content

ファイル名を変更しながら複製する

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