Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Converting absolut symlinks to relative ones...?
- X-seq: zsh-users 21368
- From: Vin Shelton <ethersoft@xxxxxxxxx>
- To: Danek Duvall <duvall@xxxxxxxxxxxxxx>, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Subject: Re: Converting absolut symlinks to relative ones...?
- Date: Sun, 6 Mar 2016 16:22:07 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to; bh=F2oHFuKHm8xUq6TIjsgbVSsTmAynDCYBMK8/442bTh8=; b=k7tHHeYdV4B52VBdsqxKX0s171cNCS+IVUbFloNSn51RSoNMOceWOLcs/ElSRwyqBJ KBGTaNMsntCt0hNcd+n/XDssM0qryQp7taa+G0whBu3ags0I7c8vMbrnJFuH/06iAtqW AjBbJ0N8Mk/Ybuq9sOBiFYxiSzOkdeiBLZT4iKKFBDkKfx+6QgMzhAB/sG5voxwYsGl4 /BYG8PSR2EbDdAUhfbFqyDi0vM4Ce7i1yVik1EhwB0tWM09dFXcHIVXNDnUJ4Akmf1OW 78wpY+bJ1biu39YHv3cmda3etw5IfPrB2OlUg+zag4fEmKrmtA+A4gNG2mSc3e76rPKn vL/w==
- In-reply-to: <20160306202135.GE10755@lorien.comfychair.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20160306132013.GA4938@solfire> <20160306173915.GC10755@lorien.comfychair.org> <160306113830.ZM2800@torch.brasslantern.com> <20160306202135.GE10755@lorien.comfychair.org>
- Reply-to: acs@xxxxxxxxxxxxxxxxxxxx
On Sun, Mar 6, 2016 at 3:21 PM, Danek Duvall <duvall@xxxxxxxxxxxxxx> wrote:
> On Sun, Mar 06, 2016 at 11:38:30AM -0800, Bart Schaefer wrote:
>
>> On Mar 6, 9:39am, Danek Duvall wrote:
>> }
>> } GNU ln has a -r option which does this.
>>
>> That must be a very recent addition, there's no sign of it in coreutils
>> 8.13 from 2011 (on my Ubuntu box).
>
> Looks like it arrived in 8.16, in March 2012.
>
>> ln-r () {
>> ...
>
> Might be a useful addition to the ln in zsh/files, too.
>
> Danek
I don't know what is needed, but attached is the function I use to
calculate a relative path.
Attachment:
relative
Description: Binary data
Messages sorted by:
Reverse Date,
Date,
Thread,
Author