ls *
dotouch /app/test1/$i tr -d ‘\014‘ < $i > /app/test1/$i #增加、替换、删除 一个文件夹下每个文件的内容done
for循环
原文:http://blog.51cto.com/11581765/2063320