Enhancement: optional grouping of file sequences in output
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.2k
- Forks
- 510
- PR merge metrics
- No merged PRs in 30d
Description
Something that I think would be very helpful for lsd is to be able to group file sequences in a folder.
In other words, say you have:
frame.001.png
frame.002.png
frame.003.png
...
frame.120.png
frame.121.png
Then maybe it could show as one row, perhaps like:
drwxr-xr-x alan alan 4.0 KB Tue Jan 4 15:14:52 2022 .
drwxr-xr-x alan alan 4.0 KB Thu Dec 23 12:06:00 2021 ..
.rwxr-xr-x alan alan 10 MB ------------------------ frame.[001-121].png
Ideally:
- off by default to avoid confusion,
- with a setting to toggle grouping sequences all the time.
- It would also need to not display a file date since it would make no sense,
- but perhaps it could display the total size of the sequence since that information is available already.
If one wanted to contribute such a feature, where in the code would you advise a newcomer to this codebase to look at? 🤔
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named in the issue. Begin by tracing lsd's output path and configuration handling; the requested behavior still needs a design covering opt-in grouping, dates, and sequence size before implementation can be considered done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100