html tool

2016年11月2日星期三

将指定目录中的文件每行结尾添加此文件名称

将指定目录中的文件每行结尾添加此文件名称: 
 1 ls -1 testdata| xargs -i sed -i "s/$/ {}/g" testdata/{}

没有评论:

发表评论