mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #50] Add an option to skip directories on other filesystems #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kpine on GitHub (Jan 11, 2020).
Original GitHub issue: https://github.com/bootandy/dust/issues/50
Consider adding an
-xoption, which is available in bothduandncdu. The option would exclude any directories that reside on other filesystems. This is useful when you want to find what directories are taking all the space on a particular filesystem, but have network or other disks mounted in other directories.For example,
ncdu -xfrom the root directory will show this on my system:With dust it shows:
/mnthas a CIFS shared mounted from a NAS, so it throws off the totals.#46 is related, but would be less convenient to use if there were other filesystems mounted in various locations.
@bootandy commented on GitHub (Jan 11, 2020):
good suggestion, I'll add it to the todo list and should probably do #46 at the same time.