1. 删除带空格文件中的空格:(来自) ls | sed 's/^.*/mv "&" \`echo & \| sed "s\/ \/\/g"\`/g' | sh >/dev/null 2>&1 (文件名中不能包含引号) 2.统计当前文件夹下文件个数:(来自) find . -type f -print |wc -l