DEV Community

Discussion on: A Catalog of Your Files

Collapse
 
amitnovick profile image
Amit Novick

Hi Peter!

Thanks for taking the time to share your thoughts on this! 🙂

The solution you're (very briefly!) describing is Symnolic link (aka soft link).

Actually I experimented quite a bit with Symbolic links myself before deciding it's not the solution I'm looking for.

Here are my thoughts on that:

  • Symbolic links create a second, linking file, with a separate name. That means that if you are using some traditional file manager tools like find to look for it under some folder structure, you will retrieve duplicate results ➿.
  • The linking file isn't removed when the original file is removed, leaving you with broken links that have to be manually removed 😫.
  • The filesystem doesn't perform bulk deletion operations as an atomic operation, which means that if you were trying to remove several files at once but your computer crashed, you might find that the filesystem didn't complete the operation and is left in an unclean state with unwanted leftover artifacts 🤦🏻.

Catalog addresses all of these concerns by managing the hierarchy on its own and being able to work across operating systems with very low filesystem I/O overhead.

Feel free to let me know what you think!
-Amit