lsd-rs / lsd-rs/lsd

Enhancement: optional grouping of file sequences in output

Open
#605 0 comments 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.