Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to resolve a symlink's to its non-existing destination?
On Sat, Apr 29, 2023 at 8:07 PM Marlon Richert <marlon.richert@xxxxxxxxx> wrote:
>
> How can I consistently resolve a symlink's destination, regardless of whether it exists?
You can read the target of a link with zstat:
% zstat +link -LA link -- bar && typeset -p link
typeset -a link=( foo )
You might have to do this recursively.
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author