2

I liked this explanation of hard and soft/symbolic links: https://unix.stackexchange.com/a/22406/42226

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

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 Jul 2 '13 at 21:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.