标记文件系统而不是目录?
在现代文件系统中,有文件和目录。在一个目录中,有子目录和文件。
我的问题是,如果所有文件都放在一个地方并且每个文件都可以标记不是更好吗?所以每个文件都有标签,就像 Stack Overflow 中一样:每个问题都有标签。主要优点是搜索速度可以更快。
你的意见是什么?对你来说,这样更舒服吗?
In the modern file systems there are files and directories. In a directory, there are sub-directories and files.
My question is, wouldn't it be better if all the files were in one place, and each file could tagged? So each file have tags, just like in Stack Overflow: every question has tags. The main advantage, is that searching could be much more faster.
What is your opinion? For you, was it more comfortable?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
开发了我自己的标记程序 http://www.taggtool.com 我可以提供以下想法:
它是超级能够使用标签交叉引用多个文件很有用,但是
尽管自动规则有所帮助,但向文件添加标签需要大量的前期和持续的工作。
从技术上讲,在 Windows 上编写这样的系统是一个挑战,您在哪里保存标签元数据?理想情况下在文件中,但这只能通过一小部分文件格式实现。
替代数据流提供了一个可能的解决方案,但感觉像是一个半成品的解决方案。
另一种选择是将元数据存储在数据库中,这带来了保持所有内容同步的新挑战。
遗憾的是,本机操作系统没有为文件提供强大的元数据存储,但目前就是这样。
Having developed my own tagging program http://www.taggtool.com I can offer the following thoughts:
It is super useful to be able to cross-reference multiple files using tags but
it involves a lot of upfront and ongoing effort to add tags to your files although automatic rules help.
Technically on Windows it's a challenge to code such a system, where do you save the tag metadata? Ideally in the file but that's only possible with a tiny set of file formats.
Alternative Data Stream offered a possible solution but it feels like a half baked solution.
The other option is to store the metadata in a database which introduces the new challenge of keeping everything in sync.
It's a shame that the native OS doesn't provide a robust metadata storage for files but that's the way it is at the moment.
唔。目前的研究正朝着这个方向发展。例如跟踪器
或WinFS。
就我个人而言,我认为我们不能轻易放弃目录结构,因为:
计算机文件系统的工作方式以及程序期望的内容紧密相关另一方面,当集合重叠时,标签的功能会更好,例如:
如果用户足够“高级用户”,他可能想要使用分层标签并形成一些本体。另一方面,这些可以通过符号链接在 *nixes 上进行模拟。
总而言之,在某些领域我更喜欢标签,但不是所有领域。有时我需要了解底层结构。但可能和大多数其他 stackoverflow 用户一样。
Hmm. Current research goes into this direction. For example tracker
or WinFS.
Personally I believe that we cannot easily resign from directory structure as:
computersfile systems works and what programs expectsOn the other hand tags function better when the sets overlaps like:
If user is 'power-user' enough he might want to use hierarchical tags and form some ontologies. Those on the other hand can be simulated on *nixes by symlinks.
To conclude - in certain areas I prefer tags but not for all of them. Sometimes I need to know underlying structure. But probably as most other stackoverflow users.
文件系统标记将很有用——不是作为替代品,而是作为目录系统的补充。我不想将所有文件都放在一个目录中,但我希望使用标签组织树形层次结构(如图像/视频/音乐集合)内的一些文件或目录。
File system tagging would be useful - not as a replacement, but as a complement of a directory system. I don't want to have all files in one directory, but I would like to have some files or directories inside a tree hierarchy (like image/video/music collections) organized using tags.
我已经开始了一个开发标记文件系统的项目。请访问 http://code.google.com/p/labelfs/ 查看
I've started a project to develop a tagging filesystem. Check it at http://code.google.com/p/labelfs/
你可以看看 Reggata 这是一个简单的本地文件标记系统。
You may take a look at Reggata It's a simple tagging system for local files.