Quantcast
Channel: Is it possible to create relative symlinks from a script? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by user3850 for Is it possible to create relative symlinks from a script?

There is nothing special about running commands from a script. You just do it.$ mkdir originals$ echo "weird"> originals/original.txt$ mkdir copies$ ln -s ../originals/original.txt copies/copy.txt$...

View Article



Answer by Christopher Neylan for Is it possible to create relative symlinks...

EDIT:@MДΓΓБДLL points out correctly that what you want to do is built into the functionality of ln. The first argument to ln will be the target value used when the link is created, wherever it is...

View Article

Is it possible to create relative symlinks from a script?

This question follows on the heals of this one: Symlinks not working when link is made in another directory?Say I have a directory containing a project, and a script that creates symbolic links from...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>