athityakumar / athityakumar/colorls

Target size from Symbolic link `ls -lH`

Open
#515 4 comments 0 reactions 0 assignees View on GitHub
enhancement Hacktoberfest Up-For-Grabs
Dominant language
Ruby
Stars
5.1k
Forks
396
PR merge metrics
No merged PRs in 30d

Description

Hi,
I have a symbolic link to a target. Using `ls -l symbolic_name` I get the size of the symbolic link (small size). Using `ls -lH symbolic_name` I get the size of the target, the actual size in disk (big size).
Colorls doesn't have -H option.
Can you include in future versions?

Contributor guide

Open the contributing guide

Research direction

Start by locating colorls's command-line option parsing and the code that handles symbolic-link sizes, then compare its current -l behavior with the requested ls -lH behavior. Done means colorls accepts -H with -l and reports the target size for symbolic links, with coverage for that invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.