[GH-ISSUE #385] Dust tree by age #170

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

Originally created by @bootandy on GitHub (Apr 5, 2024).
Original GitHub issue: https://github.com/bootandy/dust/issues/385

Instead of showing file size. Show the time of the most recently updated file in the subdirectory.

Also a flag for oldest

Normally stat will show the time the directory was last touched - this version will show the max/min time of it and all it's contents.

Originally created by @bootandy on GitHub (Apr 5, 2024). Original GitHub issue: https://github.com/bootandy/dust/issues/385 Instead of showing file size. Show the time of the most recently updated file in the subdirectory. Also a flag for oldest Normally stat will show the time the directory was last touched - this version will show the max/min time of it and all it's contents.
zhus closed this issue 2026-06-08 11:25:58 +03:00
Author
Owner

@wugeer commented on GitHub (Jul 11, 2024):

Hello, is the following output OK? I will submit a PR if I canimage

<!-- gh-comment-id:2222524074 --> @wugeer commented on GitHub (Jul 11, 2024): Hello, is the following output OK? I will submit a PR if I can![image](https://github.com/bootandy/dust/assets/20339490/442e1584-ff9f-4042-bb8f-a82c4df0ee8c)
Author
Owner

@bootandy commented on GitHub (Jul 17, 2024):

Yeah, that works - do you think we should have '-' between the year-month-day columns to make it more readable (trading losing somre screen real estate)

<!-- gh-comment-id:2231868428 --> @bootandy commented on GitHub (Jul 17, 2024): Yeah, that works - do you think we should have '-' between the year-month-day columns to make it more readable (trading losing somre screen real estate)
Author
Owner

@wugeer commented on GitHub (Jul 22, 2024):

Yeah, that works - do you think we should have '-' between the year-month-day columns to make it more readable (trading losing somre screen real estate) Add a "-" between the year, month and day columns to make it easier to read (losing some screen space in the deal)?

Yeah, originally I think the readability isn't significantly affected by the presence or absence of the hyphen, but it saves screen space, so I removed it in the initial version.
I have resubmitted the code, and the performance test screenshots have also been submitted. Please check if there are any issues and if more performance test examples are needed.

<!-- gh-comment-id:2242431488 --> @wugeer commented on GitHub (Jul 22, 2024): > Yeah, that works - do you think we should have '-' between the year-month-day columns to make it more readable (trading losing somre screen real estate) Add a "-" between the year, month and day columns to make it easier to read (losing some screen space in the deal)? Yeah, originally I think the readability isn't significantly affected by the presence or absence of the hyphen, but it saves screen space, so I removed it in the initial version. I have resubmitted the code, and the performance test screenshots have also been submitted. Please check if there are any issues and if more performance test examples are needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#170