wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 5812
    
    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
 
Similar Threads
Class not found in Package
WA #1.....word association
I want to Read and copy 800 MB file. Any efficient way.
About Sathya Notes_How to get it
Cleared SCJP2 with 94%