[GH-ISSUE #276] Support for following symlinks #118

Closed
opened 2026-06-08 11:25:46 +03:00 by zhus · 2 comments
Owner

Originally created by @teeks99 on GitHub (Nov 17, 2022).
Original GitHub issue: https://github.com/bootandy/dust/issues/276

dust would be much nicer with the ability to dereference symlinks on demand, similar to the -L argument to du.

To elaborate a bit more, this should not be a default. It should only happen when a -L is passed in. If this is the case the program should deal with all the files it finds as if they were in that directory. There may need to be some check to deal with loops in the system though.

The big use case for this is trying to find large files across a system that may span multiple physical drives.

Originally created by @teeks99 on GitHub (Nov 17, 2022). Original GitHub issue: https://github.com/bootandy/dust/issues/276 `dust` would be much nicer with the ability to dereference symlinks on demand, similar to the `-L` argument to `du`. To elaborate a bit more, this should not be a default. It should only happen when a -L is passed in. If this is the case the program should deal with all the files it finds as if they were in that directory. There may need to be some check to deal with loops in the system though. The big use case for this is trying to find large files across a system that may span multiple physical drives.
zhus closed this issue 2026-06-08 11:25:46 +03:00
Author
Owner

@bootandy commented on GitHub (Jan 4, 2023):

I can look at doing this.

<!-- gh-comment-id:1371291581 --> @bootandy commented on GitHub (Jan 4, 2023): I can look at doing this.
Author
Owner

@bootandy commented on GitHub (Jan 7, 2023):

https://github.com/bootandy/dust/pull/288

<!-- gh-comment-id:1374504425 --> @bootandy commented on GitHub (Jan 7, 2023): https://github.com/bootandy/dust/pull/288
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#118