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

Feature request: follow symlinks like ls -L, --dereference, or be even friendlier #393

Open
tv42 opened this issue Jun 1, 2018 · 8 comments · May be fixed by #1136
Open

Feature request: follow symlinks like ls -L, --dereference, or be even friendlier #393

tv42 opened this issue Jun 1, 2018 · 8 comments · May be fixed by #1136
Labels
good-first-bug Easy to fix bugs

Comments

@tv42
Copy link

tv42 commented Jun 1, 2018

Hi. I have some large files managed externally, and symlinks to them in git. I often want to see the sizes of the large files, not the sizes of the symlinks.

In fact, I consider displaying the size of the symlink an exercise in silliness; I'd much rather see the size of the target.

Exa doesn't seem to have anything like ls -L to give me that information.

  1. Could something like ls -L be added?
  2. Maybe even just always fetch the target size when a symlink size is asked for.
@erkin
Copy link

erkin commented Jun 8, 2018

Yes! --dereference-command-line-symlink-to-dir is the only feature of ls I'm missing.
When I ls a symlink to a dir, I simply want to see inside of what it's pointing at, not the filename.

@pronobis
Copy link

Would be great to have that feature. I like sorting directories first, and links to directories do not get placed on top without this option.

@ghost
Copy link

ghost commented Nov 21, 2018

Also would be great if there was symlink indicator even with this option toggled.

@lilyball
Copy link
Contributor

I would really like to see this. exa seems to behave like ls -H already in most cases (except when using -T, filed as #549), but an equivalent to -L would be useful, in particular with -T (though with -T it would need some kind of loop detection).

@sklages
Copy link

sklages commented Aug 9, 2020

It's been around for years now?? Wow .. okay, just another guy interested in -L (and maybe-H).

This is a quite fundamental parameter of ls .. I am a bit puzzled that this has not been implemented from the very beginning ...

@adam-zethraeus
Copy link

+1

@Legisign
Copy link

Yes! --dereference-command-line-symlink-to-dir is the only feature of ls I'm missing.
When I ls a symlink to a dir, I simply want to see inside of what it's pointing at, not the filename.

I wholeheartedly agree! If a symlink is to a dir, it’s for a reason.

@alanhoyle
Copy link

I've been using unix for decades and only just became aware of the ls --dereference, and I'm surprised that exa doesn't implement it. Please implement this feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-first-bug Easy to fix bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants