Casey Bralla via plug on 28 Jan 2024 11:57:48 -0800
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Symbolic Link Problem/Question
|
- From: Casey Bralla via plug <plug@lists.phillylinux.org>
- To: <plug@lists.phillylinux.org>
- Subject: Re: [PLUG] Symbolic Link Problem/Question
- Date: Sun, 28 Jan 2024 14:57:36 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sendinblue.com; q=dns/txt; s=mail; bh=YLFOVBfQUykheS2Qxa/i39kH8U3ueoVQxY1OQWNKur4=; h=from:subject:date:to:mime-version:content-type:content-transfer-encoding:in-reply-to:references:list-unsubscribe:x-csa-complaints:list-unsubscribe-post; b=HIt0eSsivuGoGKewvOGZdAwLrjwGsLK1Bcco6RenwPxTd46kbbm8j51CThiQW9b1zd/d7KzrOngs yh9FPMGOK2FfRhibJjvmhWQHUokCpchjqclR5Wq53fgKi1j5nRsazQFUpc0ySSrgqmlCFeXyVB4l 7LW2hBZwCR8gjjKPbmE=
- Feedback-id: 77.32.148.27:4536357_-1:4536357:Sendinblue
- Origin-messageid: <1ecec09e-d806-43ee-a13d-00fc09f45114@NerdWorld.org>
- Reply-to: Casey Bralla <MailList@NerdWorld.org>
- Sender: "plug" <plug-bounces@lists.phillylinux.org>
- User-agent: Mozilla Thunderbird
Yes, thanks.
That does work, but I've done it before (somehow) and it didn't need the
trailing slash to see the directory contents.
Gotta be a way. Maybe something about the trailing slashes on the "ln"
command line?
On 2024-01-28 02:36 PM, Gary Duzan via plug wrote:
>> This problem has stymied me in the past, and I think someone here may
>> have helped me in the past, but I'm getting older now...
>>
>> I want to link a directory so that I can access it more easily.
>> Specifically, I wan to link:
>>
>>    /files1/documents  to  /docs
>>
>> I've tried this command:
>>
>> "ln -s /files/documents /docs"
>>
>> But when I do a directory of "ls /docs", I get shown a file which shows
>> the link to the old directory. But what I want is to see the directory
>> of files on /files1/documents.
>>
>> I've done this before, and there was a "trick" to make it work, but I
>> can't remember the trick, nor can I find it on the web.
>>
>> Can somebody help?
>>
>> TIA!
> Adding a training slash (ls /docs/) or a trailing slash and dot (ls
> /docs/.) should get you want you want.
>
> Gary Duzan
>
>
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group -- http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug