I liked this explanation of hard and soft/symbolic links: Why are hard links to directories not allowed in UNIX/Linux?

Now the reason why I googled about soft and hard links is simply because I was organizing my folders and files and in one point I wanted one file to be referenced to from another directory. So I thought in shortcuts/symlinks, but would like to be able to rename the file or move it to another folder and still have the symlinks pointing to that file.

Is that possible?

Hard link isn't an option since I want the same functionality also for folders (and furthermore I want one reference -the first hard link- to be always the "most important").

1 Answer 1


You may invert the logic here: just keep all relevant directories and regular files in a fixed, central directory, and move absolute symlinks around.

  • Yeah, but that's not exactly what I want. I'm looking for something simpler. It's not that hard to do I think, and it would be useful.
    – pabvid
    Commented Jul 2, 2013 at 21:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .