5 ms·
From the article: > ### Hard and soft links as non-solutions > Soft links have a nearly opposite set of problems as hard links – soft links can span different
by btrettel 5y ago
From the article:
> ### Hard and soft links as non-solutions
> Soft links have a nearly opposite set of problems as hard links – soft links can span different file systems, but they generally don’t track the target files getting moved or renamed (except that Windows provides such a system service, but may not be reliable); while hard links are all indistinguishable, some application software behaves differently on soft links than on real hard-linked files. In spite of these problems, hard and soft links still require an exponential amount of effort to classify a set of files in multiple ways, and require the user to manually remember all the possible paths that a file can be reached from (important when editing and removing files, not important when browsing/retrieving files). They are non-scalable kludges compared to true tagging.
As a fan of hierarchies for file organization, and as someone with quite literally thousands of soft links, when I read things like this, I don't know if the person arguing against links has tried this approach. It works totally fine for me.
Yes, with soft links, moving the original file breaks the links. I wrote a fairly simple bash script to automatically fix these for my reference PDF files. It works because each PDF file I save has a unique file name. So figuring out where the links need to point is pretty simple. That makes me a "power user", I guess, but the author is at least at the same level and I think could figure it out.
With respect to the "exponential amount of effort to classify a set of files in multiple ways", I guess the author is referring to navigating the hierarchy to link a file in multiple places? I use tagging at my work, and I personally find scrolling through my list of about 200 tags to be comparable in terms of time to navigating through a hierarchy. The bottleneck is the human.
Edit: Here's another article by someone who is not a fan of links: https://karl-voit.at/2018/08/25/links/ https://karl-voit.at/2018/08/25/links/
- mro_name 5y agoimmediately thought of Karl Voit as well. https://karl-voit.at/managing-digital-photographs/ https://karl-voit.at/managing-digital-photographs/ and his talk at the Grazer Linuxtage 2018.
- livrem 5y agoI use hard and soft links (mostly the former for files and the latter for directories) and I think it works very well in practice despite the theoretical problems brought up.