我正在尝试使用find和du来获取名为"bak"的目录的大小.
我这样做: find -name bak -type d -exec du -ch '{}' \;
find -name bak -type d -exec du -ch '{}' \;
但它返回名为"bak"的每个文件夹的大小而不是总数.
无论如何得到他们?谢谢 :)
bash shell debian
bash ×1
debian ×1
shell ×1