Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target size from Symbolic link ls -lH #515

Open
brccabral opened this issue Apr 14, 2022 · 4 comments
Open

Target size from Symbolic link ls -lH #515

brccabral opened this issue Apr 14, 2022 · 4 comments

Comments

@brccabral
Copy link

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?

@t-mangoe
Copy link
Contributor

As a trial, I added -H option in my local environment.
How is this?
colorls

@brccabral
Copy link
Author

It looks great

@t-mangoe
Copy link
Contributor

t-mangoe commented Jan 7, 2023

Thank you for your good comment!
Since I have also added the test, I will try sending a pull request.

@t-mangoe t-mangoe mentioned this issue Jan 7, 2023
5 tasks
@avdv
Copy link
Collaborator

avdv commented Mar 16, 2023

There's now the -L option (on the main branch, pushing releases is currently broken), which dereferences all symlinks, not only the ones from the command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants