I don't understand what I'm doing wrong today with trying to create.
Inside my current directory, I recreated an empty directory called input
. I would like to symlink this to
../../../../opt/build/db/output
So within my current directory, I did
ln -s ../../../../opt/build/db/output input
But when I do ls -l input
, I see
output -> ../../../../opt/build/db/output
It created a directory within input
called output
that's symlinke to ../../../../opt/build/db/output
, but this is not what I want. I don't want an output
directory within input
. I want input
directly symlinekd to ../../../../opt/build/db/output
. What am I doing wrong here? I'm pretty sure this is how I've always created symlinks.
Edit: I don't get it, but I removed the input
folder, and then ran the command again and it worked as expected. I guess I can't have the existing input
directory?