This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 573
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: 5823
    
    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: 573
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating a soft link to a softlink