《懒人Shell脚本》之十——统计多重路径下的不同扩展名文件及个数
1、统计实现find -type f | sed -e 's/.*\.//' | sort | uniq -c | sort -n > rst.txt12、脚本分解1) find -type fregular file , 查找正规的文件 返回:./bak_network/道x网站/bak_第8章.md b block (buffered) special c
转载
2017-12-21 16:10:02 ·
161 阅读 ·
0 评论