This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Creating a soft link to a softlink Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Creating a soft link to a softlink" Watch "Creating a soft link to a softlink" New topic
Author

Creating a soft link to a softlink

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 576
I have two soft links

softLinkA -> directoryA
softLinkB -> directoryB
I want to create a soft link so that softlinkB is under softLinkA

softLinkC -> directoryA->directoryB

Is this possible

Thanks Tony
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

You could create another softlinkB within directoryA, then you could access directoryB via softlinkA/softlinkB. Or is this not what you wanted? The description of softlinkC is confusing. Perhaps you need to provide an example with full directory paths, exact locations of each softlink, and what the desired paths are.


JBoss In Action
Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 576
Thanks Peter, I wanted to create a softlink under a softlink. In fact this no different to creating a softlink under a directory.
What I did was created the softlink, I then cd to that softlink, an then created my second softlink under the first.

simple an logical should have thought of that straight away.
 
GeeCON Prague 2014
 
subject: Creating a soft link to a softlink