I'm trying to create a symlink in my home directory to a directories and files on my data partition. I've tried:
~/Documents$ ln -sv ~/Documents/saga /media/mariajulia/485f3e29-355c-4be3-b80a-1f5abd5604b6/mariajulia/Downloads/saga..doc
to create a symlink named saga
in my Documents
directory in my home
folder. The terminal output is:
ln: failed to create symbolic link ‘/media/mariajulia/485f3e29-355c-4be3-b80a-1f5abd5604b6/mariajulia/Downloads/saga..doc’: File exists
I was checking the content of ~/Documents
with ls -a , there is nothing but .
and ..
. In general my home
folder is empty, it's just a fresh system installation.
ln -sf
instead ofln -s
. Be careful though, as this may overwrite your original file with a broken symlink. Check what's been typed carefully before you add the-f
flag.