| 兩邊的前次修訂版 前次修改
| |
| tech:bash_tips [2024/05/04 11:46] – [找特定目錄底下超過特定大小檔案清單] jonathan | tech:bash_tips [2025/09/04 07:07] (目前版本) – [找目錄內檔案所佔磁碟空間] jonathan |
|---|
| /var/lib/rancher/rke2/agent/containerd/io.containerd.content.v1.content/blobs/sha256/60648ff0cf7732539f727874f448a87bd2032ee396ef29946353f3b59ca1a803 | /var/lib/rancher/rke2/agent/containerd/io.containerd.content.v1.content/blobs/sha256/60648ff0cf7732539f727874f448a87bd2032ee396ef29946353f3b59ca1a803 |
| </cli>++ | </cli>++ |
| | * 如果想找在 / 底下哪個子目錄占用較大空間, 但不想看到找出掛載在其他 volume 的目錄.. du 就使用 -x 排除其他掛載點 Exp. <cli> |
| | du -h --max-depth=1 -x / | sort -hr |
| | </cli> |
| |
| {{tag>tips linux bash 找大檔案}} | {{tag>tips linux bash 找大檔案}} |
| |