1

When the dir pointed by a symlink changes its name or ancestral dir(s), the symlink will not work. This happens often. Is there some more or less automatic way to make a symlink keep track of that?

I use symlinks to organize my directories. One topic is represented as a directory. A topic can have several subtopics, in the sense that a directory can have several subdirs. My topics are constantly under reorganization, so I often rename dirs, and change ancestral dirs.

  • No as the target doesn't know which symlinks point to it – Ulrich Dangel Aug 16 '14 at 14:25
  • What would do to maintain the sanity? – Tim Aug 16 '14 at 14:55
  • Stop symlinking directories and start --bind mounting them. You can maintain the entire tree in /etc/fstab. – mikeserv Aug 16 '14 at 16:18
  • 2
    it depends exactly what you need/want. It sounds like there is a bigger issue here at play, like about deployments, configuration management etc. Maybe write a small application which does what you want – Ulrich Dangel Aug 16 '14 at 18:56
  • 1
    maybe have a look at tagstore.org anyway you should probably think about writing a software helping you manage your data. you could also look into knowledge management systems or document management systems… – Ulrich Dangel Aug 16 '14 at 20:03

Your Answer

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

Browse other questions tagged or ask your own question.