I have the following directory structure to start with
~/a/bin
~/a/src -> /home/user/b/sync/src
I created a symlink
cd ~/a/src
ln -s ../bin bin-xyz
now bin-xyz is a broken link, and there is no way of cd-ing into it.
What i am looking for?
How to create a symlink inside a symlinked folder such that the relative path is not broken. For example,
cd ~/a/src/bin-xyz
or
cd ~/b/sync/src/bin-xyz
should work provided that there is bin directory in ~/a/ or ~b/sync/
Why i am looking for this ?
I am syncing ~/b/sync/src across machines, where ~/a/ is my workspace in both the machines but the user name of the machines differ. So, having a relative path that works means an easier work-flow for me.
I am using bittorent sync for syncing.
Thanks :-)