[shell] linux下查找某一配置文件,并全部替换内容
touch files-{0..6}.txt
find . -type f -name "*.txt" | awk '{print $1}' | xargs -L 1 bash -c 'echo -e "dilex\nliu" > $0'

touch files-{0..6}.txt
find . -type f -name "*.txt" | awk '{print $1}' | xargs -L 1 bash -c 'echo -e "dilex\nliu" > $0'
