Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: create a relative symlink

by choroba (Cardinal)
on Dec 19, 2019 at 15:10 UTC ( [id://11110395]=note: print w/replies, xml ) Need Help??


in reply to Re: create a relative symlink
in thread create a relative symlink

Yes. In linux, you can easily create one:
ln -s .. parent

If you then move the link somewhere else, e.g. with

mv parent ..

it will now point to its new parent directory.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^3: create a relative symlink
by afoken (Chancellor) on Dec 19, 2019 at 22:36 UTC
    Yes. In linux,

    Make that any POSIX-compatible system. A limit is the filesystem: The respective native filesystems generally support symlinks, but e.g. FAT does not.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11110395]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-16 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found