2

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").

pabvid
  • 33

1 Answers1

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.

n.r.
  • 2,243
  • 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 Jul 02 '13 at 21:05