VanLUG Email Archive

VanLUG Mailing List
Re: symbolic links..

New Message Reply About this list Date view Thread view Subject view Author view

Tim Bray (tbray@textuality.com)
Sun, 20 Feb 2000 16:24:15 -0800


At 07:07 PM 2/20/00 -0500, Curt Sampson wrote:
>Well, it's not going to be terribly easy, since there's no non-kludgy
>way I know of to reliably get the target of a symlink in Unix.

Er... really? What about something like

 find . -type l -exec ls -l {} \; | awk ' { print $9 " " $10 " " $11 }'

[you might want to put a -follow after that "find"] -Tim

--
This message came to you via the Vancouver Linux Users Group mailing list.
For unsubscription instructions do not email the list, but rather send mail
to <vanlug-request@gweep.bc.ca>.


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Mon 21 Feb 2000 - 00:25:55