IT/Linux

[Linux] CentOS 폴더별 파일개수 확인하기

반응형
for x in `find . -maxdepth 2 -mindepth 2 -type d -print`
do
echo $x, `find $x -type f|wc -l`;
done
반응형