我有一个目录,里面有多个目录,其中包含多种类型的文件。
我想找到*.jpg文件,然后获取所有单个文件的数量和总大小。
*.jpg
我知道我必须使用find wc -landdu -ch 但我不知道如何将它们组合在单个脚本或单个命令中。
find wc -l
du -ch
find . -type f name "*.jpg" -exec- 不知道如何连接这三个
find . -type f name "*.jpg" -exec
linux bash shell redhat sh
bash ×1
linux ×1
redhat ×1
sh ×1
shell ×1