Symlink grouping with --group-directories-first in ls
From:
Amin Bandali
Subject:
Symlink grouping with --group-directories-first in ls
Date:
Sun, 23 Dec 2018 22:35:44 -0500
User-agent:
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Hello,
I recently discovered ls’s --group-directories-first option to list
directories before files. It seems that the option treats all symlinks
as files, and thus doesn’t group symlinks to directories with the actual
directories on the top.
It would be great if ls had an option to group directory symlinks with
the real directories when --group-directories-first is specified.
Best,
amin